ath9k: fix tx99 with monitor mode interface
authorFelix Fietkau <nbd@nbd.name>
Mon, 20 Aug 2018 09:37:51 +0000 (11:37 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:45:40 +0000 (16:45 +0300)
commitd9c52fd17cb483bd8a470398afcb79f86c1b77c8
tree50897c3979596b147b8542441de4b5d599f65070
parenta2f73a167dc1d4940c59099c18d23c15ac9aee71
ath9k: fix tx99 with monitor mode interface

Tx99 is typically configured via a monitor mode interface, which does
not get added to the driver as a vif. Since the code currently expects
a configured virtual interface for tx99, enabling tx99 via debugfs fails.
Since the vif is not needed anyway, remove all checks for it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[kvalo@codeaurora.org: s/CPTCFG/CONFIG/]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/tx99.c
drivers/net/wireless/ath/ath9k/xmit.c