staging:r8188eu: refactor rtw_check_beacon_data() - remove rtw_hal_get_hwreg() call
authorIvan Safonov <insafonov@gmail.com>
Tue, 14 Feb 2017 22:25:26 +0000 (01:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:00 +0000 (09:17 +0100)
commita7980ce2e12d47539446f7470f6401b012f65f7a
tree151e3f5f7b8edfb4b28ce24a0a2fb8340845b95a
parentb6ba87d54f4f6347b4d04fbe6e1546478b0a5936
staging:r8188eu: refactor rtw_check_beacon_data() - remove rtw_hal_get_hwreg() call

rtw_hal_get_hwreg(..., HW_VAR_RF_TYPE,...) always return RF_1T1R value.
Replace the function call with RF_1T1R value
and refactor rtw_check_beacon_data().

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c