diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-23 13:06:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-23 13:06:17 +0000 |
commit | 8e6bff8bef934736944193476f1824cea0e8475c (patch) | |
tree | 3b6c266b789e5b49b44fc8789376fdd1ca21f98b | |
parent | 4ffd43dbc7b7a1d09af6f4425412878089ded63a (diff) | |
download | upstream-8e6bff8bef934736944193476f1824cea0e8475c.tar.gz upstream-8e6bff8bef934736944193476f1824cea0e8475c.tar.bz2 upstream-8e6bff8bef934736944193476f1824cea0e8475c.zip |
mac80211: fix station info tx bytes (#13567)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36697 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index ef023eede0..305cb8f8ec 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3756,6 +3756,15 @@ static int nl80211_send_station(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct cfg80211_registered_device *rdev, +@@ -3402,7 +3428,7 @@ static int nl80211_send_station(struct s + (u32)sinfo->rx_bytes)) + goto nla_put_failure; + if ((sinfo->filled & (STATION_INFO_TX_BYTES | +- NL80211_STA_INFO_TX_BYTES64)) && ++ STATION_INFO_TX_BYTES64)) && + nla_put_u32(msg, NL80211_STA_INFO_TX_BYTES, + (u32)sinfo->tx_bytes)) + goto nla_put_failure; @@ -3438,6 +3464,18 @@ static int nl80211_send_station(struct s default: break; |