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)
commit3431683759596409427b6726e582f3ee66082728
tree736901410602632b4d3dbc33b019366829561487
parent54e4ffb2abb3c086637cbc75a2bfe55a8ce987c8
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
This page took 0.025964 seconds and 5 git commands to generate.