]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix sta_info_flush() return value
authorJohannes Berg <johannes.berg@intel.com>
Sat, 25 Feb 2012 20:40:46 +0000 (21:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Feb 2012 19:06:42 +0000 (14:06 -0500)
commite29ebd0385c88ffa0aca878f293a0f111dc836a9
tree736901410602632b4d3dbc33b019366829561487
parent0eb178605d3a580de55aade579bf958941911ee3
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>
net/mac80211/sta_info.c