]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: fix ibss scanning
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 11 Dec 2012 09:48:23 +0000 (10:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 11:59:57 +0000 (12:59 +0100)
commit34bcf71502413f8903ade93746f2d0f04b937a78
treef29898115ed90311f2f8e9af34825ec77b9f0dbe
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
mac80211: fix ibss scanning

Do not scan on no-IBSS and disabled channels in IBSS mode. Doing this
can trigger Microcode errors on iwlwifi and iwlegacy drivers.

Also rename ieee80211_request_internal_scan() function since it is only
used in IBSS mode and simplify calling it from ieee80211_sta_find_ibss().

This patch should address:
https://bugzilla.redhat.com/show_bug.cgi?id=883414
https://bugzilla.kernel.org/show_bug.cgi?id=49411

Reported-by: Jesse Kahtava <jesse_kahtava@f-m.fm>
Reported-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/scan.c