Changeset 26544


Ignore:
Timestamp:
2011-04-09T17:21:57+02:00 (7 years ago)
Author:
nbd
Message:

mac80211: fix reading the station flags in debugfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch

    r26531 r26544  
    1919--- a/net/mac80211/debugfs_sta.c 
    2020+++ b/net/mac80211/debugfs_sta.c 
     21@@ -59,7 +59,7 @@ static ssize_t sta_flags_read(struct fil 
     22        char buf[100]; 
     23        struct sta_info *sta = file->private_data; 
     24        u32 staflags = get_sta_flags(sta); 
     25-       int res = scnprintf(buf, sizeof(buf), "%s%s%s%s%s%s%s%s%s", 
     26+       int res = scnprintf(buf, sizeof(buf), "%s%s%s%s%s%s%s%s", 
     27                staflags & WLAN_STA_AUTH ? "AUTH\n" : "", 
     28                staflags & WLAN_STA_ASSOC ? "ASSOC\n" : "", 
     29                staflags & WLAN_STA_PS_STA ? "PS (sta)\n" : "", 
    2130@@ -67,7 +67,6 @@ static ssize_t sta_flags_read(struct fil 
    2231                staflags & WLAN_STA_AUTHORIZED ? "AUTHORIZED\n" : "", 
Note: See TracChangeset for help on using the changeset viewer.