From: Johannes Berg Date: Tue, 14 May 2013 07:19:53 +0000 (+0200) Subject: cfg80211: fix interface down/disconnect state handling X-Git-Tag: v3.10-rc3~18^2~18^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2430816b4e29fd9e6719ff46a4292d8f58565cff;p=pandora-kernel.git cfg80211: fix interface down/disconnect state handling When the interface goes down, there's no need to call cfg80211_mlme_down() after __cfg80211_disconnect() as the latter will call the former (if appropriate.) Also, in __cfg80211_disconnect(), if the cfg80211 SME isn't used, __cfg80211_disconnected() may still need to be called (depending on the current state) so that the SME state gets cleared. Signed-off-by: Johannes Berg --- Reading git-diff-tree failed