summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-drv.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-02-09 11:46:06 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-27 13:25:47 -0800
commit6459f9871a1218f7a2e6385d1ae6c91e91f9d251 (patch)
tree1277a68d40542771b8c64bcb364ddf16e341f326 /drivers/net/wireless/iwlwifi/iwl-drv.c
parent07590f080d5f29e33158b22f7ad6079b85d87609 (diff)
downloadblackbird-op-linux-6459f9871a1218f7a2e6385d1ae6c91e91f9d251.tar.gz
blackbird-op-linux-6459f9871a1218f7a2e6385d1ae6c91e91f9d251.zip
iwlwifi: rename iwl_remove to iwl_op_mode_dvm_stop
iwl_remove stops the wifi flows, so rename. Moreover, we can possibly stop the wifi flows even if the driver is statically compiled in the kernel, so remove the __devexit pragma. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-drv.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c
index b3876dec52af..db430c7d27d7 100644
--- a/drivers/net/wireless/iwlwifi/iwl-drv.c
+++ b/drivers/net/wireless/iwlwifi/iwl-drv.c
@@ -94,7 +94,7 @@ int iwl_drv_start(struct iwl_shared *shrd,
void iwl_drv_stop(struct iwl_shared *shrd)
{
- iwl_remove(shrd->priv);
+ iwl_op_mode_dvm_stop(shrd->priv);
kfree(shrd->nic);
}
OpenPOWER on IntegriCloud