diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-12-07 21:50:08 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-16 09:30:43 -0500 |
commit | 5ce543d148bf7590294e76bc30f4c4d6777fe094 (patch) | |
tree | 4ae4058d3bd46367166765d1a1ae9acaaac9bba9 /drivers/net/wireless/iwlwifi/iwl-scan.c | |
parent | 061acaae76dfb760f4f3fddf0cde43915b7d673c (diff) |
cfg80211: Restore orig channel values upon disconnect
When we restore regulatory settings the world regulatory domain
is properly reset on cfg80211 (or user prefered regulatory domain)
but we were never setting back channel values for drivers that use
WIPHY_FLAG_CUSTOM_REGULATORY. Set these values up again by using
the orig_ channel parameters.
This fixes restoring custom regulatory settings upon disconnect
events.
Cc: compat@orbit-lab.org
Cc: Paul Stewart <pstew@google.com>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: Senthilkumar Balasubramanian <senthilb@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
0 files changed, 0 insertions, 0 deletions