From: Johannes Berg Date: Tue, 7 Jul 2009 01:56:05 +0000 (+0200) Subject: cfg80211: fix netdev down problem X-Git-Tag: v2.6.32-rc1~703^2~650 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78485475618cf9f1c70dc7f15e8deafa8b6074ab;p=pandora-kernel.git cfg80211: fix netdev down problem We shouldn't be looking at the ssid_len for non-IBSS, and for IBSS we should also return an error on trying to leave an IBSS while not in or joining an IBSS. This fixes an issue where we wouldn't disconnect() on an interface being taken down since there's no SSID configured this way. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed