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)
commite30815016bbd0b5c3dcdc29f53e054b57938f1aa
tree2a7127363a6085b2fb3fbdf9045cce2ac2ee40d0
parent4d8b61490c14a36efdee4a8bf523e26809df05ac
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