From: Emmanuel Grumbach Date: Fri, 26 Aug 2011 06:11:20 +0000 (-0700) Subject: iwlagn: stop the device before freeing it X-Git-Tag: v3.2-rc1~129^2~287^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2c30bfcd29c6f1215d58a1c5663d58978011b8;p=pandora-kernel.git 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 Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed