iwlagn: refactor down path
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2011 10:14:45 +0000 (03:14 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 22 Apr 2011 17:02:34 +0000 (10:02 -0700)
commitbc4f8adac6b30ee5f03dad267896add7e58db729
tree0d6a2c806a96b35fde1a8579af6b5291f0d2d30d
parent1a10f43313481b99154b3b1ce6863742475422e0
iwlagn: refactor down path

The iwl_down path really consists of multiple things,
refactor out the hardware resetting (including, of
course, related software state like irqs).

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
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h