ath10k: add sanity checks for monitor management
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 16 Oct 2013 13:45:48 +0000 (16:45 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 21 Oct 2013 13:41:18 +0000 (16:41 +0300)
commit0ed00eea0961db3a007cbca727e3dd54e4bfd05f
treede99fe5dc8e91c8bf524351798707e1917d524c9
parentafd0922e7478ce3e4ea5812835164fe4e2a12896
ath10k: add sanity checks for monitor management

Add a few checks and warnings to make it easier to
track any kind of monitor vdev mismanagement.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c