From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:36321 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbbJ0CPo (ORCPT ); Mon, 26 Oct 2015 22:15:44 -0400 Subject: Patch "mac80211: Fix hwflags debugfs file format" has been added to the 4.2-stable tree To: mohammed@qti.qualcomm.com, gregkh@linuxfoundation.org, johannes.berg@intel.com, jouni@qca.qualcomm.com Cc: , From: Date: Tue, 27 Oct 2015 11:15:33 +0900 Message-ID: <1445912133179249@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled mac80211: Fix hwflags debugfs file format to the 4.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mac80211-fix-hwflags-debugfs-file-format.patch and it can be found in the queue-4.2 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 4633dfc32c0019bed2996de9bbdbe7f3b518a44e Mon Sep 17 00:00:00 2001 From: Mohammed Shafi Shajakhan Date: Thu, 8 Oct 2015 19:20:14 +0530 Subject: mac80211: Fix hwflags debugfs file format From: Mohammed Shafi Shajakhan commit 4633dfc32c0019bed2996de9bbdbe7f3b518a44e upstream. 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 [fix commit log] Signed-off-by: Jouni Malinen Signed-off-by: Johannes Berg Signed-off-by: Greg Kroah-Hartman --- net/mac80211/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c @@ -148,7 +148,7 @@ static ssize_t hwflags_read(struct file 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]); } Patches currently in stable-queue which might be from mohammed@qti.qualcomm.com are queue-4.2/mac80211-fix-hwflags-debugfs-file-format.patch