summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/Kconfig
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-07-21 10:22:50 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 19:45:22 +0300
commit6fd1eacec1b8cd081b9ae067f852cece3e886521 (patch)
tree703069f9eecb4857f0d25032795d8fca61e566c4 /drivers/net/wireless/ath/ath6kl/Kconfig
parentcf104c2a207f550d9c3b8f8bcf73cb11765692f6 (diff)
ath6kl: fix crash when interface is closed but scan is ongoing
When ath6kl module was removed while a scan was ongoing the driver would crash in ath6kl_cfg80211_scan_complete_event(). Fix the function not to iterate nodes when the scan is aborted. The nodes are already freed when the module is being unloaded. This patch removes the null check entirely as the wmi structure is not accessed anymore during module unload. Also fix a bug where the status was checked as a bitfield with '&' operator. But it's not a bitfield, just a regular error code. This is a port of my patch from ath6kl staging with the same title. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/Kconfig')
0 files changed, 0 insertions, 0 deletions