summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2013-07-04 12:08:07 +0100
committerRiham Haidar <rhaidar@nvidia.com>2013-07-12 16:56:04 -0700
commit172790024e21da5b49d781794083f6980eac0f61 (patch)
tree66e37670716446454b661ff91e18e2967301c991 /net
parent96221690c0ca68ffdc4bf0c7a5b5b04906fe1524 (diff)
mac80211&nl80211: Fix SCAN_ABORT warning
SCAN_ABORT will produce a warning that it is not used in the switch statements. The code is handled by a KConfig option. Use that option in the include file. Change-Id: I86f5aa2c305df49544ef4aa5e86622e2eedfab2a Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/245083 Reviewed-by: Wei Ni <wni@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index e4b6910d745d..78192145ab32 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -819,8 +819,10 @@ enum mac80211_scan_state {
SCAN_SEND_PROBE,
SCAN_SUSPEND,
SCAN_RESUME,
+#ifdef CONFIG_MAC80211_SCAN_ABORT
SCAN_ABORT,
SCAN_SUSPEND_ABORT,
+#endif
};
struct ieee80211_local {