On Fri, 2013-03-01 at 23:12 +0100, Johannes Berg wrote: > Add a new debugfs file to view a station's VHT capabilities. [] > diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c [] > @@ -325,6 +325,36 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, > } > STA_OPS(ht_capa); > > +static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, > + size_t count, loff_t *ppos) > +{ > + char buf[512], *p = buf; 512? Kinda large don't you think? You use maybe 128. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html