]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use designated initialization for some arrays
authorEliad Peller <eliad@wizery.com>
Tue, 16 Jul 2013 15:07:20 +0000 (18:07 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Aug 2013 08:35:04 +0000 (10:35 +0200)
commiteb6ff87bf8f8022b004221795b540fadfa42abac
treedffd4281fb01cc1c7bc38b42126de1ff3a1c3ba1
parentfda82ec9c6cbc2feb1ca6cb146f4e58725efc267
iwlwifi: mvm: use designated initialization for some arrays

rs_ht_to_legacy and ant_toggle_lookup are arrays that
represent some state-machine. initialize them explicitly
with designated initialization to make them more clear
and avoid errors.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c