]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wireless: Reset beacon_found while updating regulatory
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Wed, 14 Sep 2011 08:58:17 +0000 (14:28 +0530)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:16 +0000 (15:35 -0400)
commit336786aa496e057d965a10b6b6c34c0df9eb8877
treed50e8168d6b13847689b8daf670bb3f74a610e59
parentd5e183bb68038c5a55ad2194500c0f65db10daa7
wireless: Reset beacon_found while updating regulatory

commit aa3d7eef398dd4f29045e9889b817d5161afe03e upstream.

During the association, the regulatory is updated by country IE
that reaps the previously found beacons. The impact is that
after a STA disconnects *or* when for any reason a regulatory
domain change happens the beacon hint flag is not cleared
therefore preventing future beacon hints to be learned.
This is important as a regulatory domain change or a restore
of regulatory settings would set back the passive scan and no-ibss
flags on the channel. This is the right place to do this given that
it covers any regulatory domain change.

Reviewed-by: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/wireless/reg.c