wifi: Restore configuration of CWmin and CWmax for 802.11b
Fix a mistake introduced with 2a1d0091
This commit is contained in:
@@ -674,16 +674,17 @@ WifiMac::ConfigurePhyDependentParameters (void)
|
||||
SetDsssSupported (true);
|
||||
cwmin = 31;
|
||||
cwmax = 1023;
|
||||
return;
|
||||
}
|
||||
|
||||
if (standard >= WIFI_STANDARD_80211g && band == WIFI_PHY_BAND_2_4GHZ)
|
||||
else
|
||||
{
|
||||
SetErpSupported (true);
|
||||
}
|
||||
if (standard >= WIFI_STANDARD_80211g && band == WIFI_PHY_BAND_2_4GHZ)
|
||||
{
|
||||
SetErpSupported (true);
|
||||
}
|
||||
|
||||
cwmin = 15;
|
||||
cwmax = 1023;
|
||||
cwmin = 15;
|
||||
cwmax = 1023;
|
||||
}
|
||||
|
||||
ConfigureContentionWindow (cwmin, cwmax);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user