diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-08-20 11:37:51 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-08-28 16:45:40 +0300 |
commit | d9c52fd17cb483bd8a470398afcb79f86c1b77c8 (patch) | |
tree | 50897c3979596b147b8542441de4b5d599f65070 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | ath9k: remove unused array firstep_table (diff) | |
download | linux-dev-d9c52fd17cb483bd8a470398afcb79f86c1b77c8.tar.xz linux-dev-d9c52fd17cb483bd8a470398afcb79f86c1b77c8.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 21ba20981a80..003e9fb456ac 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -1074,7 +1074,6 @@ struct ath_softc { struct ath_spec_scan_priv spec_priv; - struct ieee80211_vif *tx99_vif; struct sk_buff *tx99_skb; bool tx99_state; s16 tx99_power; |