]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: Do not allow disabled channel in scan request
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 15 Sep 2011 12:10:50 +0000 (17:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Sep 2011 18:43:48 +0000 (14:43 -0400)
commitdf29794a5ec2df70cb8d9f0ada20a70cc658afc7
tree2a7127363a6085b2fb3fbdf9045cce2ac2ee40d0
parentcae645710bfb64425cd76b63df04f28c56729fd6
wireless: Do not allow disabled channel in scan request

cfg80211_conn_scan allows disabled channels at scan request.
Hence probe request was seen at the disabled one. This patch
ensures that disabled channel never be added into the scan
request's channel list.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c