iwlwifi: mvm: Fix paging memory leak

commit 905e36ae17 upstream.

If the opmode is stopped and started again we did not free
the paging buffers. Fix that.
In addition when freeing the firmware's paging download
buffer, set the pointer to NULL.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Matti Gottlieb 2016-02-14 17:05:39 +02:00 • committed by Greg Kroah-Hartman
commit 0ae6554c2b
3 changed files with 8 additions and 1 deletions