iwlwifi: dbg_ini: fix debug monitor stop and restart in ini mode
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Thu, 16 May 2019 07:56:30 +0000 (10:56 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:09:43 +0000 (10:09 +0300)
commit029c25f36343fe72fe1a80dcfc03ba34b0354de2
tree9896844d42f0c1a4884a8288d1a6ecb22d63d141
parentd374f3157fa4b3ffd830b41ecf25457781b8526b
iwlwifi: dbg_ini: fix debug monitor stop and restart in ini mode

In ini debug mode the recording does not restart unless legacy monitor
configuration is also given.

Add dbg_ini_dest field to trans to indicate the debug monitor
destination to solve this.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h