commit | 78485475618cf9f1c70dc7f15e8deafa8b6074ab | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Tue Jul 07 03:56:05 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jul 10 15:02:31 2009 -0400 |
tree | c31ebe1540016bbe1fdc41ac5b671cdc2bf143ed | |
parent | c9cf01226e0bd1fa4f7f7024d8d53e982fad208f [diff] |
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 <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>