iwlwifi: mvm: add some missing cleanups in iwl_mvm_mac_add_interface
authorEliad Peller <eliad@wizery.com>
Tue, 16 Jul 2013 14:50:17 +0000 (17:50 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Aug 2013 08:34:52 +0000 (10:34 +0200)
commitbd3351ba3e5e3e5b635532fab63da502129141f9
treee3e200aba02c4866f482bbb135833d42fe75c395
parent5fdda0476c28ff2097ae37f43f40557b91eb0160
iwlwifi: mvm: add some missing cleanups in iwl_mvm_mac_add_interface

iwl_mvm_mac_add_interface() didn't clean up beacon filtering
configuration and ctxt allocation in some error cases.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c