iwlagn: clean up some exit code
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2011 10:14:44 +0000 (03:14 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 22 Apr 2011 17:02:26 +0000 (10:02 -0700)
commit1a10f43313481b99154b3b1ce6863742475422e0
tree156e5973b05c91a49e95119074077193244ad46b
parente46f6538c24f01bb68dc374358ce85a0af666682
iwlagn: clean up some exit code

There's no point in running through iwl_down()
when we never registered with mac80211, as it
just cleans up internal structures that were
never initialised in this case. Therefore we
can also remove the special handling for this
case from __iwl_down().

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.c