From: Mohamed Abbas <[EMAIL PROTECTED]>

This is small patch adding missing sta_info_put function.

Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]>
Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>

---

 net/d80211/ieee80211_ioctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

6b29100c7e405c835eac8ebff2ff11774763da05
diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c
index 416d92e..1643216 100644
--- a/net/d80211/ieee80211_ioctl.c
+++ b/net/d80211/ieee80211_ioctl.c
@@ -3048,6 +3048,7 @@ static struct iw_statistics *ieee80211_g
                wstats->qual.qual = 100*tmp_qual/local->hw.maxssi;
                wstats->qual.noise = sta->last_noise;
                wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
+               sta_info_put(sta);
        }
        return wstats;
 }
-- 
1.3.0

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to