diff options
author | Ivan Safonov <insafonov@gmail.com> | 2016-10-08 01:01:12 +0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:25:20 +0200 |
commit | 1a4a467fa2350aa1103f6224edef521fb1cadbbe (patch) | |
tree | b52e552868c5c60e8291d4a17226f39f6e1648c5 /drivers/staging/rtl8188eu | |
parent | ae2d23e0755f68dd46fd80460842dcec8dcc14b7 (diff) |
staging:r8188eu: remove ExternalPA member of hal_data_8188e structure
ExternalPA always is false.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rf.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rf.c b/drivers/staging/rtl8188eu/hal/rf.c index 2f3edf0f850a..eddd075cec27 100644 --- a/drivers/staging/rtl8188eu/hal/rf.c +++ b/drivers/staging/rtl8188eu/hal/rf.c @@ -61,8 +61,6 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct adapter *adapt, u8 *powerlevel) (powerlevel[idx1]<<8) | (powerlevel[idx1]<<16) | (powerlevel[idx1]<<24); - if (tx_agc[idx1] > 0x20 && hal_data->ExternalPA) - tx_agc[idx1] = 0x20; } } else { if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1) { diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h index 19264a247dde..942ce91594e4 100644 --- a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h @@ -268,7 +268,6 @@ struct hal_data_8188e { u32 AntennaTxPath; /* Antenna path Tx */ u32 AntennaRxPath; /* Antenna path Rx */ u8 BluetoothCoexist; - u8 ExternalPA; u8 b1x1RecvCombine; /* for 1T1R receive combining */ |