iwlwifi: mvm: Fix building channels in scan_config_cmd
authorIlan Peer <ilan.peer@intel.com>
Fri, 23 Jan 2015 19:13:01 +0000 (21:13 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Feb 2015 13:58:25 +0000 (15:58 +0200)
commita25d40e27e542b8cd936ef1803e18304a6b2afb8
tree1bdcfd1262392c089d9cfb2faeb0b43eb4fce652
parent4db6558ccc4124d725d4c96eb55720bbbb597112
iwlwifi: mvm: Fix building channels in scan_config_cmd

Use the chanel hw_value and not the center frequency when
building channel array for scan_config_cmd.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c