From: Stanislaw Gruszka Date: Mon, 13 Sep 2010 12:46:38 +0000 (+0200) Subject: iwlwifi: rewrite scan completion X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d8c14b590f583fd6e8c16fe779f845845effd9;p=pandora-kernel.git iwlwifi: rewrite scan completion Assure (partially) we call ieee80211_scan_completed() only once when scan was requested from mac80211. Code path that first clear STATUS_SCANNING bit is responsible to call ieee80211_scan_completed(). Before the call, we check if mac80211 really request the scan. Still persist some cases when we behave wrong, that will be addressed in the next patches. Signed-off-by: Stanislaw Gruszka Acked-by: Wey-Yi W Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed