Commit e855a643 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: There is no 11N pseudo PHY here

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b74431d5
...@@ -920,9 +920,6 @@ _PHY_SetBWMode23a92C(struct rtw_adapter *Adapter) ...@@ -920,9 +920,6 @@ _PHY_SetBWMode23a92C(struct rtw_adapter *Adapter)
u8 regBwOpMode; u8 regBwOpMode;
u8 regRRSR_RSC; u8 regRRSR_RSC;
if (pHalData->rf_chip == RF_PSEUDO_11N)
return;
/* There is no 40MHz mode in RF_8225. */ /* There is no 40MHz mode in RF_8225. */
if (pHalData->rf_chip == RF_8225) if (pHalData->rf_chip == RF_8225)
return; return;
...@@ -1018,10 +1015,6 @@ _PHY_SetBWMode23a92C(struct rtw_adapter *Adapter) ...@@ -1018,10 +1015,6 @@ _PHY_SetBWMode23a92C(struct rtw_adapter *Adapter)
/* PHY_SetRF8258Bandwidth(); */ /* PHY_SetRF8258Bandwidth(); */
break; break;
case RF_PSEUDO_11N:
/* Do Nothing */
break;
case RF_6052: case RF_6052:
rtl8723a_phy_rf6052set_bw(Adapter, pHalData->CurrentChannelBW); rtl8723a_phy_rf6052set_bw(Adapter, pHalData->CurrentChannelBW);
break; break;
...@@ -1098,11 +1091,6 @@ void PHY_SwChnl8723A(struct rtw_adapter *Adapter, u8 channel) ...@@ -1098,11 +1091,6 @@ void PHY_SwChnl8723A(struct rtw_adapter *Adapter, u8 channel)
u8 tmpchannel = pHalData->CurrentChannel; u8 tmpchannel = pHalData->CurrentChannel;
bool result = true; bool result = true;
if (pHalData->rf_chip == RF_PSEUDO_11N) {
/* return immediately if it is peudo-phy */
return;
}
if (channel == 0) if (channel == 0)
channel = 1; channel = 1;
......
...@@ -56,7 +56,6 @@ enum rf_type_8190p { ...@@ -56,7 +56,6 @@ enum rf_type_8190p {
RF_8256 = 2, /* 2 11b/g/n */ RF_8256 = 2, /* 2 11b/g/n */
RF_8258 = 3, /* 3 11a/b/g/n RF */ RF_8258 = 3, /* 3 11a/b/g/n RF */
RF_6052 = 4, /* 4 11b/g/n RF */ RF_6052 = 4, /* 4 11b/g/n RF */
RF_PSEUDO_11N = 5, /* 5, It is a temporality RF. */
}; };
struct bb_reg_define { struct bb_reg_define {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment