projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b43631
)
cfg80211: fix reporting 64-bit station info tx bytes
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 23 May 2013 13:05:59 +0000
(15:05 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 23 May 2013 20:08:18 +0000
(22:08 +0200)
Copy & paste mistake - STATION_INFO_TX_BYTES64 is the name of the flag,
not NL80211_STA_INFO_TX_BYTES64.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index dfdb5e6432110f15afa4730e9fae0f05d7b011e8..d5aed3bb394545a6a07e15e373156e1ab189f8e2 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-3411,7
+3411,7
@@
static int nl80211_send_station(struct sk_buff *msg, u32 portid, u32 seq,
(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;