ath6kl: call ath6kl_cfg80211_stop() from ath6kl_close()
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Dec 2011 12:51:28 +0000 (14:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Dec 2011 13:03:46 +0000 (15:03 +0200)
commited8491a796558067200ae8a66570c83cb03cbd16
treee862346622d75dea754f34abdce0a7e091f304cc
parentc97a31b002d34595f74d2cb0d8017c183e7157d4
ath6kl: call ath6kl_cfg80211_stop() from ath6kl_close()

This way it's possible to keep all disconnect logic in one function and
easier to add new functionality, like stopping scheduled scan.

There are some changes to commands called during network interface close,
but there should not be any visible changes in functionality.

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