]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix IBSS beaconing
authorJohannes Berg <johannes.berg@intel.com>
Sat, 23 Oct 2010 16:15:42 +0000 (09:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:54 +0000 (13:24 -0500)
commit79e7ccd65cc3866551a0b64fc85bb1ec7cf06ef9
treedef31b6c9cb8c1845187612174874fb68c91220a
parent2ba249866abde26d0bf0129a74c89fb0b45f7e99
iwlwifi: fix IBSS beaconing

My previous patch to clean up all RXON handling
inadvertently broke IBSS because it failed to
take into account that unlike in AP mode, IBSS
requires beacons to be sent only after setting
the RXON assoc.

Fix this, clean up the code a bit, improve the
error checking around this, and also react to
beacon changes in IBSS mode from mac80211.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c