OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[uclinux-h8/linux.git]
/
net
/
batman-adv
/
bat_v_elp.c
diff --git
a/net/batman-adv/bat_v_elp.c
b/net/batman-adv/bat_v_elp.c
index
e8090f0
..
ef0dec2
100644
(file)
--- a/
net/batman-adv/bat_v_elp.c
+++ b/
net/batman-adv/bat_v_elp.c
@@
-104,6
+104,9
@@
static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh)
ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo);
ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo);
+ /* free the TID stats immediately */
+ cfg80211_sinfo_release_content(&sinfo);
+
dev_put(real_netdev);
if (ret == -ENOENT) {
/* Node is not associated anymore! It would be
dev_put(real_netdev);
if (ret == -ENOENT) {
/* Node is not associated anymore! It would be