iwlwifi: mvm: clean up broadcast station handling
authorJohannes Berg <johannes.berg@intel.com>
Mon, 4 Aug 2014 11:38:48 +0000 (13:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:49:13 +0000 (22:49 +0300)
commit013290aa46689a97447ef93c7058436315e476d7
tree82a2d1794066c0b619943e058793501c1d340091
parent110cf810852f0f5333bcfb10065995006d8ecbbb
iwlwifi: mvm: clean up broadcast station handling

Unify all the functions that handle the per-interface broadcast
station and make them have mvm and vif parameters. While at it,
add a new function to allocate the broadcast station instead of
open-coding it, and make the combined alloc+send and free+send
functions use the alloc/free & send functions.

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
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.h