wil6210: wait for disconnect completion
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Thu, 28 Jan 2016 17:24:03 +0000 (19:24 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 2 Feb 2016 12:05:57 +0000 (14:05 +0200)
commit78771d76f826202012201d700028a2d866d03fb3
treebff58fd11c5e49afdd66eeaf557b42ae2bf2cd98
parent875e94392ad2be9776c8325d3573160eb1455a2b
wil6210: wait for disconnect completion

cfg80211_ops.disconnect() should wait for disconnect flow to
complete. If it does not, internal state becomes out of sync with
one in cfg80211. If one does stress test connect/disconnect
sequence, cfg80211 will issue next connect before disconnect
completed internally.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wil6210.h