From: Johannes Berg Date: Wed, 22 Jan 2014 09:05:27 +0000 (+0100) Subject: nl80211: check channel switch validity better X-Git-Tag: v3.15-rc1~113^2~289^2^2~101^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff79dfa37d36c16d91eeeebb8cc3dcba32c2c16;p=pandora-kernel.git 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 --- Reading git-diff-tree failed