OSDN Git Service

iwlwifi: dbg: fill radio registers data regardless of fifos data dumping
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 26 Feb 2019 15:59:17 +0000 (17:59 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 3 Apr 2019 08:20:04 +0000 (11:20 +0300)
commit56fe12d2837fbe5ddaebe8011538d25c48163d49
tree32c406bdb7e1e16fb472da05c6f4cf335fe0408f
parentcf5d566322bed40850594fd0118626ab5d1f2f7b
iwlwifi: dbg: fill radio registers data regardless of fifos data dumping

The driver calculates memory regions dump size, allocate memory and
fills the data.  The driver fills the radio registers data only if the
memory size of the fifos is greater then zero, so in case the user
masked out the fifos from the dump, the driver will skip filling the
radio register data.

Solve this by checking filling radio registers data independently from
fifos data.

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