From: Rajkumar Manoharan Date: Wed, 14 Sep 2011 08:58:17 +0000 (+0530) Subject: wireless: Reset beacon_found while updating regulatory X-Git-Tag: v3.1-rc7~2^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa3d7eef398dd4f29045e9889b817d5161afe03e;p=pandora-kernel.git wireless: Reset beacon_found while updating regulatory 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. Cc: stable@kernel.org Reviewed-by: Luis R. Rodriguez Signed-off-by: Rajkumar Manoharan Acked-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed