Commit 1ff79dfa authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent c782bf8c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment