summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/quantenna/qtnfmac/core.h
diff options
context:
space:
mode:
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>2017-10-04 18:38:10 -0700
committerKalle Valo <kvalo@codeaurora.org>2017-10-13 12:59:31 +0300
commitd7b80052fa915ff4bbcace75c92335e793af2fb9 (patch)
treee2d050778090e68d8e11a7595eb3da75194a432e /drivers/net/wireless/quantenna/qtnfmac/core.h
parent524522c445e114210c198e544133a7ee3a4e141e (diff)
downloadblackbird-op-linux-d7b80052fa915ff4bbcace75c92335e793af2fb9.tar.gz
blackbird-op-linux-d7b80052fa915ff4bbcace75c92335e793af2fb9.zip
qtnfmac: get rid of QTNF_STATE_AP_START flag
QTNF_STATE_AP_START usage is redundant and imposes additional state synchronization maintenance. We may as well leave state checking to network card and upper layers (cfg80211, nl80211 and userspace). Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/core.h')
-rw-r--r--drivers/net/wireless/quantenna/qtnfmac/core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/core.h b/drivers/net/wireless/quantenna/qtnfmac/core.h
index f8165a7e93c8..b35200d05f24 100644
--- a/drivers/net/wireless/quantenna/qtnfmac/core.h
+++ b/drivers/net/wireless/quantenna/qtnfmac/core.h
@@ -52,9 +52,8 @@
#define QTNF_DEF_WDOG_TIMEOUT 5
#define QTNF_TX_TIMEOUT_TRSHLD 100
-#define QTNF_STATE_AP_START BIT(1)
-
extern const struct net_device_ops qtnf_netdev_ops;
+
struct qtnf_bus;
struct qtnf_vif;
OpenPOWER on IntegriCloud