diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-01-19 03:29:58 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-27 14:56:54 -0500 |
commit | ea086359a63bd0dd85c1d784d0425340649613fa (patch) | |
tree | e00130d16f0907bfdde4bc679e862159c058361b /net/mac80211/debugfs.c | |
parent | c1288b1278d00169e12495eb53ad128e09560b69 (diff) |
mac80211: make CQM RSSI support per virtual interface
Similar to the previous beacon filtering patch,
make CQM RSSI support depend on the flags that
the driver set for virtual interfaces.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index e8868dae1c01..affe64be9092 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -257,8 +257,6 @@ static ssize_t hwflags_read(struct file *file, char __user *user_buf, | |||
257 | sf += snprintf(buf + sf, mxln - sf, "REPORTS_TX_ACK_STATUS\n"); | 257 | sf += snprintf(buf + sf, mxln - sf, "REPORTS_TX_ACK_STATUS\n"); |
258 | if (local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) | 258 | if (local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) |
259 | sf += snprintf(buf + sf, mxln - sf, "CONNECTION_MONITOR\n"); | 259 | sf += snprintf(buf + sf, mxln - sf, "CONNECTION_MONITOR\n"); |
260 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_CQM_RSSI) | ||
261 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_CQM_RSSI\n"); | ||
262 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_PER_STA_GTK) | 260 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_PER_STA_GTK) |
263 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_PER_STA_GTK\n"); | 261 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_PER_STA_GTK\n"); |
264 | if (local->hw.flags & IEEE80211_HW_AP_LINK_PS) | 262 | if (local->hw.flags & IEEE80211_HW_AP_LINK_PS) |