iwlwifi: remove AMT check from transport
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Mar 2012 21:30:45 +0000 (13:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Mar 2012 18:51:51 +0000 (13:51 -0500)
commit496bab39b5a8ef9c916cdb961dec5bbb5ba263f7
tree57480f76aa85b9256bcdfedcc87488ce6059be7d
parent3995deafdae1b802a117b3d6d18bc9e5ce3d1340
iwlwifi: remove AMT check from transport

As iwl_prepare_card_hw() is idempotent (and
many cards support AMT anyway) there's no
point in calling iwl_prepare_card_hw() only
for AMT capable devices -- call it always
and simplify the code that way.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c