lkml.org 
[lkml]   [2015]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.2 001/110] mac80211: Fix hwflags debugfs file format
    Date
    4.2-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>

    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 <mohammed@qti.qualcomm.com>
    [fix commit log]
    Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    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]);
    }




    \
     
     \ /
      Last update: 2015-11-06 22:01    [W:4.040 / U:0.656 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site