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

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

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