From: Amitkumar Karwar Date: Sat, 20 Oct 2012 02:19:16 +0000 (-0700) Subject: mwifiex: abort scan upon interface down X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~337^2^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f162cac83ba474eb71ea2aa7788bd77f1692f4d2;p=pandora-kernel.git mwifiex: abort scan upon interface down When the interface is down, we will abort scan by calling cfg80211_scan_done() with abort option. This fixes WARN_ON triggered by cfg80211 in wdev_cleanup_work(). Driver's internal variables/flags are cleared once we get response for current scan command. Meanwhile we will block new scan request from cfg80211. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed