X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fmac80211%2Fdebugfs.c;h=1560c8482bcb9fd587d1e278a499f99fd9958803;hb=bb9a13a0209c56cdf27d125a1f2f6f34378c64f4;hp=ced6bf3be8d6cf5d3d9fc80b6c46f48c4e567aef;hpb=1b3dfde386b7c72b8f5430dc40eee538eb40c948;p=firefly-linux-kernel-4.4.55.git diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index ced6bf3be8d6..1560c8482bcb 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c @@ -149,7 +149,7 @@ static ssize_t hwflags_read(struct file *file, char __user *user_buf, for (i = 0; i < NUM_IEEE80211_HW_FLAGS; i++) { if (test_bit(i, local->hw.flags)) - pos += scnprintf(pos, end - pos, "%s", + pos += scnprintf(pos, end - pos, "%s\n", hw_flag_names[i]); }