iwlwifi: mvm: prevent multiple stations with the same address
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Sep 2015 16:14:55 +0000 (18:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jan 2016 17:01:29 +0000 (19:01 +0200)
commit30433d3b9850140ceb801c5cc2013c7b408c33de
treed7c84499399517173b0941f85e5b8ba0b88e9db1
parentb6c7d7209dc1f128fb5b9e07ee0bb2f808f86bab
iwlwifi: mvm: prevent multiple stations with the same address

As the device (and parts of the driver) cannot deal with having the
same MAC address for two stations (on two virtual interfaces), add
some explicit code to prevent this case.

Note that in practice this cannot happen since the device doesn't
support operating with two AP/GO interfaces at the same time either,
and other scenarios for this are, while not impossible, not going to
happen in practice.

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