]> 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)
commita997b1f95ec9fc05ad0f9b77eaf56aa2b067c322
tree2a7127363a6085b2fb3fbdf9045cce2ac2ee40d0
parent9f3ea95c015754d2319068a2d54ceba7357427fe
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