diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-02-25 21:40:46 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-27 20:06:42 +0100 |
commit | 3431683759596409427b6726e582f3ee66082728 (patch) | |
tree | 736901410602632b4d3dbc33b019366829561487 /net/mac80211/util.c | |
parent | mac80211: fix auth/assoc data & timer leak (diff) | |
download | linux-3431683759596409427b6726e582f3ee66082728.tar.xz linux-3431683759596409427b6726e582f3ee66082728.zip |
mac80211: fix sta_info_flush() return value
The comment for sta_info_flush() states
"Returns the number of removed STA entries"
but that isn't actually true. Consequently,
the warning when a station is still around
on interface removal can never trigger and
this delayed finding the timer issue the
previous patch fixed. Fix the return value
here to make that warning useful again.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions