iwlwifi: zero trans_cfg before settings its fields
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 5 Nov 2012 10:52:57 +0000 (12:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 15:13:00 +0000 (16:13 +0100)
commite7332691de2f97e47099088ca5d20f1ca6be8e0b
tree38977f9b913d0cb2a6d3e2982f89ad0b55a08799
parentadca1235cccacee91beb640a044e51b1c457b1ea
iwlwifi: zero trans_cfg before settings its fields

People tend not to set the fields they want to leave as 0.
So make sure the struct is zeroed properly.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/main.c