iwlwifi: honour regulatory restrictions in scan code
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 4 Apr 2008 08:41:56 +0000 (10:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 20:44:43 +0000 (16:44 -0400)
commit182e2e66ca56f750845f5314708434c286edd6e4
tree4f61bcf21b4a57568564f6a71681fef8a20dafa1
parent41a7be4858b886f83522e62d409263fcdb82653b
iwlwifi: honour regulatory restrictions in scan code

When doing firmware-assisted scanning, iwlwifi drivers do not
honour the regulatory control code that might disable channels
that are enabled in the EEPROM, for example when the user is
visiting another country and adjusted the regulatory domain
accordingly. This patch fixes that.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c