]> git.karo-electronics.de Git - linux-beck.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)
commitbd50a8ab9f48787109f6ff761c8f0e185e3d0690
treedef31b6c9cb8c1845187612174874fb68c91220a
parent2295c66b68ae160dde2e6e2dc4f3061105153bfc
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