diff options
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 095be91829ca..099dac95b09b 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -112,13 +112,13 @@ static ssize_t ieee80211_if_fmt_flags( | |||
112 | const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) | 112 | const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) |
113 | { | 113 | { |
114 | return scnprintf(buf, buflen, "%s%s%s%s%s%s%s\n", | 114 | return scnprintf(buf, buflen, "%s%s%s%s%s%s%s\n", |
115 | sdata->u.sta.ssid_set ? "SSID\n" : "", | 115 | sdata->u.sta.flags & IEEE80211_STA_SSID_SET ? "SSID\n" : "", |
116 | sdata->u.sta.bssid_set ? "BSSID\n" : "", | 116 | sdata->u.sta.flags & IEEE80211_STA_BSSID_SET ? "BSSID\n" : "", |
117 | sdata->u.sta.prev_bssid_set ? "prev BSSID\n" : "", | 117 | sdata->u.sta.flags & IEEE80211_STA_PREV_BSSID_SET ? "prev BSSID\n" : "", |
118 | sdata->u.sta.authenticated ? "AUTH\n" : "", | 118 | sdata->u.sta.flags & IEEE80211_STA_AUTHENTICATED ? "AUTH\n" : "", |
119 | sdata->u.sta.associated ? "ASSOC\n" : "", | 119 | sdata->u.sta.flags & IEEE80211_STA_ASSOCIATED ? "ASSOC\n" : "", |
120 | sdata->u.sta.probereq_poll ? "PROBEREQ POLL\n" : "", | 120 | sdata->u.sta.flags & IEEE80211_STA_PROBEREQ_POLL ? "PROBEREQ POLL\n" : "", |
121 | sdata->use_protection ? "CTS prot\n" : ""); | 121 | sdata->use_protection ? "CTS prot\n" : ""); |
122 | } | 122 | } |
123 | __IEEE80211_IF_FILE(flags); | 123 | __IEEE80211_IF_FILE(flags); |
124 | 124 | ||