diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-12 03:52:12 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:14:06 (GMT) |
commit | eb378025999a336e9d2730a66ac924f9b91ed118 (patch) | |
tree | fd3f1bbb5e5e5d9738c4c51967557813194054c9 /drivers/staging/rtl8192e/rtl819x_HTProc.c | |
parent | 8df91dae5d258ad72a666af32d54e20e29ead6fb (diff) | |
download | linux-eb378025999a336e9d2730a66ac924f9b91ed118.tar.xz |
staging: rtl8192e: Remove dead code associated with RTL8192U
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_HTProc.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 8bb51e2..0f5410c 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -382,33 +382,12 @@ bool HTIOTActIsDisableMCS15(struct rtllib_device* ieee) { bool retValue = false; -#if defined(RTL8192U) - if (ieee->current_network.bssht.bdBandWidth == HT_CHANNEL_WIDTH_20_40) - retValue = true; - else - retValue = false; -#endif - - return retValue; } bool HTIOTActIsDisableMCSTwoSpatialStream(struct rtllib_device* ieee) { bool retValue = false; -#ifdef RTL8192U - struct rtllib_network* net = &ieee->current_network; - - if ((ieee->pHTInfo->bCurrentHTSupport == true) && (ieee->pairwise_key_type == KEY_TYPE_CCMP)) - { - if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3)==0) || - (memcmp(net->bssid, PCI_RALINK, 3)==0) || - (memcmp(net->bssid, EDIMAX_RALINK, 3)==0)) - { - retValue = false; - } - } -#endif return retValue; } |