ath6kl: remove a workaround from ath6kl_cfg80211_stop()
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Dec 2011 12:51:10 +0000 (14:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Dec 2011 13:03:45 +0000 (15:03 +0200)
commitc97a31b002d34595f74d2cb0d8017c183e7157d4
tree9b0880405e1eac2047f1a88537a94109f089fe6f
parentd6d5c06c3cf6b1b5b4ffaac8a05c0cea97f90857
ath6kl: remove a workaround from ath6kl_cfg80211_stop()

There's a workaround in ath6kl_cfg80211_stop() which emits disconnected
even when sme_state was disconnected. This is legacy from the old
staging driver and I can't repoduce the old problem anymore. I assume the
bug got fixed while the driver was cleaned up so let's get
rid of the hack.

This makes it possible to call ath6kl_cfg80211_stop from ath6kl_close()
which happens in a followup patch.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c