diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-08-26 08:11:20 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 21:30:31 +0200 |
commit | ae2c30bfcd29c6f1215d58a1c5663d58978011b8 (patch) | |
tree | 6f21ee56e23c2311100f54f49774a3442aa2e088 /drivers/net/cxgb4 | |
parent | iwlagn: remove dereferences of priv from transport (diff) | |
download | linux-ae2c30bfcd29c6f1215d58a1c5663d58978011b8.tar.xz linux-ae2c30bfcd29c6f1215d58a1c5663d58978011b8.zip |
iwlagn: stop the device before freeing it
When we remove the module, we free all the tx and rx resources.
Before doing that, we'd better stop the tx / rx activity. Calling
iwl_trans_stop_device in iwl_remove helps also to remove a few API
functions:
* rx_free: happens in iwl_trans_free
* tx_free: happens in iwl_trans_free
* disable_sync_irq: happens in iwl_trans_stop_device
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/cxgb4')
0 files changed, 0 insertions, 0 deletions