Staging: rt28x0: MlmeSelectTxRateTable() fix
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 23 Aug 2009 13:30:56 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:22 +0000 (12:02 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/mlme.c

index 3a72359e3e69cba9a550ff28de239262263a7c10..994821e18c542a0018e7b00e59d73ecf82e206b6 100644 (file)
@@ -1566,12 +1566,7 @@ VOID MlmeSelectTxRateTable(
                }
 
                //else if ((pAd->StaActive.SupRateLen == 4) && (pAd->StaActive.ExtRateLen == 0) && (pAd->StaActive.SupportedPhyInfo.MCSSet[0] == 0) && (pAd->StaActive.SupportedPhyInfo.MCSSet[1] == 0))
-               if ((pEntry->RateLen == 4)
-#ifndef RT30xx
-//Iverson mark for Adhoc b mode,sta will use rate 54  Mbps when connect with sta b/g/n mode
-                       && (pEntry->HTCapability.MCSSet[0] == 0) && (pEntry->HTCapability.MCSSet[1] == 0)
-#endif
-                       )
+               if (pEntry->RateLen == 4)
                {// B only AP
                        *ppTable = RateSwitchTable11B;
                        *pTableSize = RateSwitchTable11B[0];