]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg: group trigger condition to helper function
authorSara Sharon <sara.sharon@intel.com>
Tue, 12 Jun 2018 07:41:35 +0000 (10:41 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 6 Oct 2018 07:25:44 +0000 (10:25 +0300)
commitc56d2764d3a05cbffda6ae21b2aad1b6c61006aa
tree2f3548dcbaef969672b46810c90137cb0ccf33ad
parent645b55bf57004a259766bfec1fe39a3f180a6c93
iwlwifi: dbg: group trigger condition to helper function

The triplet of get trigger, is trigger enabled and is trigger stopped
repeats itself.  Group them in a function to avoid code duplication.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/rx.c
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c