nl80211: Enforce unique address for AP iftype
Some Wi-Fi SoCs do not ensure unique MAC address for the new virtual interface. Enforce unique address is used for the created AP interface similarly to other previously address interface types. Signed-off-by: Jintao Lin <jintaolin@chromium.org>
This commit is contained in:
parent
87bad8afad
commit
f9804e3067
1 changed files with 1 additions and 1 deletions
|
@ -8329,7 +8329,7 @@ static int wpa_driver_nl80211_if_add(void *priv, enum wpa_driver_if_type type,
|
|||
if (!addr &&
|
||||
(type == WPA_IF_P2P_CLIENT || type == WPA_IF_P2P_GROUP ||
|
||||
type == WPA_IF_P2P_GO || type == WPA_IF_MESH ||
|
||||
type == WPA_IF_STATION)) {
|
||||
type == WPA_IF_STATION || type == WPA_IF_AP_BSS)) {
|
||||
/* Enforce unique address */
|
||||
u8 new_addr[ETH_ALEN];
|
||||
|
||||
|
|
Loading…
Reference in a new issue