diff options
author | Joshua Oreman | 2009-11-29 20:12:00 +0100 |
---|---|---|
committer | Marty Connor | 2010-01-05 16:16:25 +0100 |
commit | aa1b894ecd68a43b9e93c9677470acb557f54c39 (patch) | |
tree | 23169c2284d58c337713e2700de0ffbe621ce8bd | |
parent | [config] Enable WPA2 by default (diff) | |
download | ipxe-aa1b894ecd68a43b9e93c9677470acb557f54c39.tar.gz ipxe-aa1b894ecd68a43b9e93c9677470acb557f54c39.tar.xz ipxe-aa1b894ecd68a43b9e93c9677470acb557f54c39.zip |
[802.11] Allow connecting to spectrum managed networks
Contrary to the IEEE specification, some access points apparently
set the Spectrum Mgmt bit in the capabilities field even when
broadcasting on a 2.4GHz band that does not require spectrum
management. Allow gPXE to attempt to connect to such networks;
if spectrum management is really required, our advertisement
of capabilities not including it will result in an association
failure.
Reported-by: Peter Meyer <residue@xmail.net>
Signed-off-by: Marty Connor <mdc@etherboot.org>
-rw-r--r-- | src/net/80211/net80211.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/net/80211/net80211.c b/src/net/80211/net80211.c index aa141968..1c54597f 100644 --- a/src/net/80211/net80211.c +++ b/src/net/80211/net80211.c @@ -1026,12 +1026,6 @@ static int net80211_process_capab ( struct net80211_device *dev, return -ENOSYS; } - if ( capab & IEEE80211_CAPAB_SPECTRUM_MGMT ) { - DBGC ( dev, "802.11 %p cannot handle spectrum managed " - "network\n", dev ); - return -ENOSYS; - } - dev->phy_flags &= ~( NET80211_PHY_USE_SHORT_PREAMBLE | NET80211_PHY_USE_SHORT_SLOT ); |