|
@@ -165,7 +165,7 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,
|
|
|
if (_cond) \
|
|
|
p += scnprintf(p, sizeof(buf)+buf-p, "\t" _str "\n"); \
|
|
|
} while (0)
|
|
|
- char buf[1024], *p = buf;
|
|
|
+ char buf[512], *p = buf;
|
|
|
int i;
|
|
|
struct sta_info *sta = file->private_data;
|
|
|
struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap;
|