summaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-13 11:17:11 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-06-13 11:17:11 +0200
commit4a4ab0d7c9abe4e403bcea6ae2fc5d3f28a64a29 (patch)
tree1860a27b0e42e2249d61a8eaaea82d540346eacd /include/linux/nl80211.h
parentac4d82fa01c194dba10b9a7c35449ba36eb642fc (diff)
downloadop-kernel-dev-4a4ab0d7c9abe4e403bcea6ae2fc5d3f28a64a29.zip
op-kernel-dev-4a4ab0d7c9abe4e403bcea6ae2fc5d3f28a64a29.tar.gz
nl80211: fix sched scan match attribute name
It should be NL80211_SCHED_SCAN_MATCH_ATTR_SSID as documented, not NL80211_ATTR_SCHED_SCAN_MATCH_SSID. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index c61e1621..e7b1fc1 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -1963,7 +1963,7 @@ enum nl80211_reg_rule_attr {
enum nl80211_sched_scan_match_attr {
__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID,
- NL80211_ATTR_SCHED_SCAN_MATCH_SSID,
+ NL80211_SCHED_SCAN_MATCH_ATTR_SSID,
/* keep last */
__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,
@@ -1971,6 +1971,9 @@ enum nl80211_sched_scan_match_attr {
__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
};
+/* only for backward compatibility */
+#define NL80211_ATTR_SCHED_SCAN_MATCH_SSID NL80211_SCHED_SCAN_MATCH_ATTR_SSID
+
/**
* enum nl80211_reg_rule_flags - regulatory rule flags
*
OpenPOWER on IntegriCloud