aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2010-04-16 09:47:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:47:17 -0400
commit317a929dcd39bceff93974dac5fbdafa9b2a33ac (patch)
tree809c1adca241dc93faf289223bd97ea7661a7353 /drivers/net/wireless/iwlwifi/iwl-core.c
parenteb2ec0fb3c2fe85d42b2d5131e526daa0e298b9e (diff)
iwlwifi: initialize iwl_wimax_coex_cmd.flags
iwl_wimax_coex_cmd.flags can be really uninitialized, so fix that. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index f09bff823ab6..2e489cd7b203 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -2382,11 +2382,11 @@ EXPORT_SYMBOL(iwl_free_txq_mem);
2382 2382
2383int iwl_send_wimax_coex(struct iwl_priv *priv) 2383int iwl_send_wimax_coex(struct iwl_priv *priv)
2384{ 2384{
2385 struct iwl_wimax_coex_cmd uninitialized_var(coex_cmd); 2385 struct iwl_wimax_coex_cmd coex_cmd;
2386 2386
2387 if (priv->cfg->support_wimax_coexist) { 2387 if (priv->cfg->support_wimax_coexist) {
2388 /* UnMask wake up src at associated sleep */ 2388 /* UnMask wake up src at associated sleep */
2389 coex_cmd.flags |= COEX_FLAGS_ASSOC_WA_UNMASK_MSK; 2389 coex_cmd.flags = COEX_FLAGS_ASSOC_WA_UNMASK_MSK;
2390 2390
2391 /* UnMask wake up src at unassociated sleep */ 2391 /* UnMask wake up src at unassociated sleep */
2392 coex_cmd.flags |= COEX_FLAGS_UNASSOC_WA_UNMASK_MSK; 2392 coex_cmd.flags |= COEX_FLAGS_UNASSOC_WA_UNMASK_MSK;