summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2016-08-23 18:00:45 +0800
committerDavid Lin <dlin@marvell.com>2016-08-23 18:00:45 +0800
commit639586200fa4d8676aaaaf9b1e39df8be93f5f19 (patch)
treebf53c5911381ada70d49975ab8009d9ebeff3231
parent232d38790c610c8ff5c4c8ecf07685564cb183a1 (diff)
Fixed error constant value.
Signed-off-by: David Lin <dlin@marvell.com>
-rw-r--r--tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tx.c b/tx.c
index 83812c4..79cd79e 100644
--- a/tx.c
+++ b/tx.c
@@ -839,7 +839,7 @@ void mwl_tx_xmit(struct ieee80211_hw *hw,
len = *pos++;
while (len) {
if (hw->conf.chandef.chan->band
- == IEEE80211_BAND_2GHZ) {
+ == NL80211_BAND_2GHZ) {
if ((*pos == 2) ||
(*pos == 4) ||
(*pos == 11) ||