* [PATCH] mac80211: Fix hwflags debugfs file format
@ 2015-10-08 13:50 Mohammed Shafi Shajakhan
2015-10-13 8:31 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Shafi Shajakhan @ 2015-10-08 13:50 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Mohammed Shafi Shajakhan, Jouni Malinen
From: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Commit 30686bf7f5b3 ("mac80211: convert HW flags to unsigned long
bitmap") accidentally removed the newline delimiter from the hwflags
debugfs file. Fix this by adding back the newline between the HW flags.
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
[fix commit log]
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
---
net/mac80211/debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 3636b45..4d2aaeb 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -151,7 +151,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]);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: Fix hwflags debugfs file format
2015-10-08 13:50 [PATCH] mac80211: Fix hwflags debugfs file format Mohammed Shafi Shajakhan
@ 2015-10-13 8:31 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2015-10-13 8:31 UTC (permalink / raw)
To: Mohammed Shafi Shajakhan; +Cc: linux-wireless, Jouni Malinen
On Thu, 2015-10-08 at 19:20 +0530, Mohammed Shafi Shajakhan wrote:
> From: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
>
> Commit 30686bf7f5b3 ("mac80211: convert HW flags to unsigned long
> bitmap") accidentally removed the newline delimiter from the hwflags
> debugfs file. Fix this by adding back the newline between the HW
> flags.
>
Applied, thanks.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-13 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 13:50 [PATCH] mac80211: Fix hwflags debugfs file format Mohammed Shafi Shajakhan
2015-10-13 8:31 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).