staging: rtl8192e: Use standard api to calculate frequency to channel
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Thu, 8 Jun 2023 06:52:18 +0000 (08:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 10:47:06 +0000 (12:47 +0200)
commit4e9e2c8026ff200e818928f818dde17a311fed86
treeefcef5eac78576f2fba75a2a5f1cb0e9ed0aefdd
parentd88b46ce5ab8160a3c5d4efde27197d7545ec19a
staging: rtl8192e: Use standard api to calculate frequency to channel

Use ieee80211_freq_khz_to_channel() to calculate frequency to channel to
omit proprietary code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Message-ID: <fc332e81f6677965e9e51f1fcef9815997effcb5.1686166624.git.philipp.g.hortmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac_wx.c