ath10k: cancel coverage class work during stop and restart
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Fri, 31 Mar 2017 11:58:41 +0000 (17:28 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 5 Apr 2017 07:36:49 +0000 (10:36 +0300)
commitd94475c2f95c8fbc6871aaf2df3fd093c329dde8
treeabab7ea951ca7cc6914cf085109376a66ba411d1
parentfefcd11535abc4cb45d1572afc2351114572493e
ath10k: cancel coverage class work during stop and restart

It seems set_coverage_class_work is not cancelled anywhere,
though I could not find a crash/warning  with this existing
design, its safer to cancel it during stop() and also before
restarting the hardware.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/mac.c