]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use ksize to memset scan_command
authorDavid Spinadel <david.spinadel@intel.com>
Mon, 2 Jun 2014 06:59:49 +0000 (09:59 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2014 12:04:14 +0000 (15:04 +0300)
commit08ddebe47cf5928ffc66aa9897f8adbe442794c5
tree100777418fc1c9b9c0781f988231a3a80e4df48e
parentd4b5da510c0f8548cbd6a161189ffa6751bdeeb8
iwlwifi: mvm: use ksize to memset scan_command

Use ksize to get scan command size instead of calculating it, to
avoid nasty bugs.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c