staging:r8188eu: refactor add_RATid() - remove rtw_hal_get_hwreg() call
authorIvan Safonov <insafonov@gmail.com>
Tue, 14 Feb 2017 22:25:25 +0000 (01:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:00 +0000 (09:17 +0100)
commitb6ba87d54f4f6347b4d04fbe6e1546478b0a5936
treea1d4ad4c8d80e2d44ed794b4ef55fbec69609103
parent0bb2b81ee41397630ae94764a7db2e4caaa8df78
staging:r8188eu: refactor add_RATid() - 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 add_RATid().

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