commit | 1ff79dfa37d36c16d91eeeebb8cc3dcba32c2c16 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jan 22 10:05:27 2014 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Feb 04 21:48:16 2014 +0100 |
tree | 6400fb9a5f7470a37afc9fac5d8b9e07b2c23f39 | |
parent | c782bf8caae59a6cdd17ed1b99c126167dae49b2 [diff] |
nl80211: check channel switch validity better Before allowing userspace to initiate a channel switch, check that it's actually connected in some sense. Also use a more appropriate error code for the not connected case. Signed-off-by: Johannes Berg <johannes.berg@intel.com>