iwlwifi: fix dual-mode scanning
commit1cf263736092b3712103a5290a93dd0fff376f26
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Sep 2010 14:32:13 +0000 (22 07:32 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 7 Oct 2010 22:53:14 +0000 (7 15:53 -0700)
treef8980fb9e2a360ae27ac4b6fa529f86715a506d5
parenta313f3839eeeebb3cbbcf1fbd2aee92bde389032
iwlwifi: fix dual-mode scanning

The recent scanning code shuffle accidentally
moved the SCAN_HW bit setting _after_ the PAN
parameters are modified, which means that they
don't take the scan into account -- fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c