]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging:r8188eu: remove ExternalPA member of hal_data_8188e structure
authorIvan Safonov <insafonov@gmail.com>
Fri, 7 Oct 2016 18:01:12 +0000 (01:01 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:20 +0000 (10:25 +0200)
ExternalPA always is false.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rf.c
drivers/staging/rtl8188eu/include/rtl8188e_hal.h

index 2f3edf0f850a6e6b4eb1089bc4a94ba9dc28b180..eddd075cec27f6e0a175acdfde96e1e4a86d6108 100644 (file)
@@ -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) {
index 19264a247ddeb1efde770ce86545e6420fe1a8da..942ce91594e4463c43a9a6be46f70b1f5a386df0 100644 (file)
@@ -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 */