iwlwifi: clear STATUS_SCAN_HW when PAN_PARAMS fails
authorIlan Peer <ilan.peer@intel.com>
Thu, 17 May 2012 09:42:59 +0000 (12:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:08:41 +0000 (13:08 +0200)
commit76a3aa89937cf0b9a560e4c778e54e993018da60
treec8c1610b1c16fa1a704c5dd1c073fed9f352652d
parent53e1116ebd3c0bab4d6daf0da4492f813b778cf8
iwlwifi: clear STATUS_SCAN_HW when PAN_PARAMS fails

The STATUS_SCAN_HW is set before calling iwlagn_set_pan_params
(used as an input to calculate slot time allocation). The bit needs
to be cleared in case sending the command fails.

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