iwlwifi: mvm: memset binding before setting values
authorSara Sharon <sara.sharon@intel.com>
Sun, 5 Mar 2017 16:35:02 +0000 (18:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 20:06:51 +0000 (23:06 +0300)
commitf99a6abe59e096cc2c753e667c19f22022e3bef4
treeedd82e44357456705d324434d569cd846831d6e8
parenta1a5787730455609473fb5a9d86eee05af347a3b
iwlwifi: mvm: memset binding before setting values

The changes in commit 9415af7f306b ("iwlwifi: mvm: support new binding
API") assigned values that were later memset to 0.  Move the memset
earlier.

Fixes: 9415af7f306b ("iwlwifi: mvm: support new binding API")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/binding.c