From: Johannes Berg Date: Sat, 25 Feb 2012 20:40:46 +0000 (+0100) Subject: mac80211: fix sta_info_flush() return value X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3431683759596409427b6726e582f3ee66082728;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed