From: Johannes Berg Date: Wed, 29 Jul 2009 09:23:49 +0000 (+0200) Subject: cfg80211: keep track of current_bss for userspace SME X-Git-Tag: v2.6.32-rc1~703^2~459^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7fc0f9735085bb617fff774bfd71465edb448c;p=pandora-kernel.git cfg80211: keep track of current_bss for userspace SME When a userspace SME is active, we're currently not keeping track of the BSS properly for reporting the current link and for internal use. Additionally, it looks like there is a possible BSS leak in that the BSS never gets removed from auth_bsses[]. To fix it, pass the BSS struct to __cfg80211_connect_result in this case. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed