diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/debugfs_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index 0d4a759ba72c..84865e7ef13b 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c | |||
@@ -165,7 +165,7 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, | |||
165 | if (_cond) \ | 165 | if (_cond) \ |
166 | p += scnprintf(p, sizeof(buf)+buf-p, "\t" _str "\n"); \ | 166 | p += scnprintf(p, sizeof(buf)+buf-p, "\t" _str "\n"); \ |
167 | } while (0) | 167 | } while (0) |
168 | char buf[1024], *p = buf; | 168 | char buf[512], *p = buf; |
169 | int i; | 169 | int i; |
170 | struct sta_info *sta = file->private_data; | 170 | struct sta_info *sta = file->private_data; |
171 | struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap; | 171 | struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap; |