iwlwifi: dbg_ini: use linked list for dump TLVs during dump creation
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Sun, 16 Jun 2019 14:05:21 +0000 (17:05 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:22 +0000 (15:31 +0300)
commit0fc296f8efbcb718b82f43504e5b7ee583585b64
treee91cbb302793fa7ba81748cc04591971ab20b6ae
parent00eacde4974a2439ef44bf20a9fc6aa68bd953f8
iwlwifi: dbg_ini: use linked list for dump TLVs during dump creation

Avoid iterating over dump TLVs twice for size calculation by using
linked list to store the dump TLVs.

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/error-dump.h