diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-03-17 15:02:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 12:12:26 +0200 |
commit | c84387d2f2c83d1d49a8dfefed13a8b39f017230 (patch) | |
tree | 0421ace9e6845a9a31c6e6675119549bd9854de9 /net/mac80211/sta_info.h | |
parent | 3c5bcb2e1930bdbccd14a49660895f014349b51d (diff) | |
download | talos-op-linux-c84387d2f2c83d1d49a8dfefed13a8b39f017230.tar.gz talos-op-linux-c84387d2f2c83d1d49a8dfefed13a8b39f017230.zip |
mac80211: clean up station flags debugfs
Avoid the really strange %s%s%s expression, use an array
of flag names and check that all flags are present.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 3b2105562d8b..4e1ed6f26484 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -69,6 +69,8 @@ * @WLAN_STA_MPSP_RECIPIENT: local STA is recipient of a MPSP. * @WLAN_STA_PS_DELIVER: station woke up, but we're still blocking TX * until pending frames are delivered + * + * @NUM_WLAN_STA_FLAGS: number of defined flags */ enum ieee80211_sta_info_flags { WLAN_STA_AUTH, @@ -97,6 +99,8 @@ enum ieee80211_sta_info_flags { WLAN_STA_MPSP_OWNER, WLAN_STA_MPSP_RECIPIENT, WLAN_STA_PS_DELIVER, + + NUM_WLAN_STA_FLAGS, }; #define ADDBA_RESP_INTERVAL HZ |