iwlwifi: mvm: BT Coex - always initialize smps_mode
authorJohannes Berg <johannes.berg@intel.com>
Thu, 21 Aug 2014 17:08:44 +0000 (19:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 8 Sep 2014 06:18:36 +0000 (09:18 +0300)
commit582de30afa13dbc20c8b654ac8f93d32dbef99ce
tree04d8882a3f95ca2b14f3be98705c118e62aa1ed7
parent717e2390dc72e87380d6ccf62134b0ab84ee43d2
iwlwifi: mvm: BT Coex - always initialize smps_mode

smps_mode is used uninitialized in a debug statement in AP
mode, so always initialize it.

While at it, fix a typo.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/coex.c