From: Arik Nemtsov Date: Sun, 24 Nov 2013 17:10:46 +0000 (+0200) Subject: iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave X-Git-Tag: v3.14-rc1~94^2~334^2^2~54^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4082843674000ffc5db76c2d0e66455ca5af490;p=pandora-kernel.git iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave The stop_hw trans callback is not well defined. It is missing in many cleanup flows and the division of labor between stop_device/stop_hw is cumbersome. Remove stop_hw and use stop_device to perform both. Implement this for all current transports. PCIE needs some extra configuration the op-mode is leaving to configure RF kill. Expose this explicitly as a new op_mode_leave trans callback. Take the call to stop_device outside iwl_run_mvm_init_ucode, this makes more sense and WARN when we want to run the INIT firmware while it has run already. Signed-off-by: Arik Nemtsov Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed