iwlwifi: mvm: clean up iwl_mvm_bss_info_changed_ap_ibss
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 16:08:40 +0000 (17:08 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:43:52 +0000 (22:43 +0200)
commit863230dadcf6b1efb8a342875ade19d00da3b456
tree1a3f413fb780a3e6a075e5da2276aa281a9bc7fb
parent741e703b58819d8e7c743a9cab7e2f98a1264a67
iwlwifi: mvm: clean up iwl_mvm_bss_info_changed_ap_ibss

Remove the enum abuse (using an enum to store a set of values),
the unneeded ret variable and unnecessary if nesting.

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