commit | 2430816b4e29fd9e6719ff46a4292d8f58565cff | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue May 14 09:19:53 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu May 16 22:38:08 2013 +0200 |
tree | 2112067e8dd3f2ecc72b7c1d11dbb8b9afdcbe81 | |
parent | 2b9ccd4e4308272e5aec614b77c5385e7ec2ec90 [diff] |
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 <johannes.berg@intel.com>