diff options
author | Michael Straube <straube.linux@gmail.com> | 2018-12-07 21:55:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-12 11:37:58 +0100 |
commit | 15f11e0ffce0affbc256fcc1925c9e3cb2739b22 (patch) | |
tree | 92a6c40198a26bde913bdf6b1db111e4d52aa4e8 /drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | |
parent | staging: rtl8188eu: simplify loop in rtl88eu_phy_iq_calibrate() (diff) | |
download | linux-dev-15f11e0ffce0affbc256fcc1925c9e3cb2739b22.tar.xz linux-dev-15f11e0ffce0affbc256fcc1925c9e3cb2739b22.zip |
staging: rtl8188eu: reuse Hal_GetChnlGroup88E()
Use Hal_GetChnlGroup88E() instead of duplicating it's code
in get_rx_power_val_by_reg().
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c index 31e80d693f32..d5a1cf92ca6f 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c @@ -373,7 +373,7 @@ static void Hal_ReadPowerValueFromPROM_8188E(struct txpowerinfo24g *pwrInfo24G, } } -static void Hal_GetChnlGroup88E(u8 chnl, u8 *group) +void Hal_GetChnlGroup88E(u8 chnl, u8 *group) { if (chnl < 3) /* Channel 1-2 */ *group = 0; |