diff options
author | Arend Van Spriel <[email protected]> | 2018-02-28 21:15:20 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2018-03-07 16:36:41 +0200 |
commit | 455f3e76cfc0d893585a5f358b9ddbe9c1e1e53b (patch) | |
tree | 0d9111eec5461ee829c56d19b030f344ac6b2989 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 933897342d0714ae1c10729cbaeecea0c6178db5 (diff) |
brcmfmac: fix P2P_DEVICE ethernet address generation
The firmware has a requirement that the P2P_DEVICE address should
be different from the address of the primary interface. When not
specified by user-space, the driver generates the MAC address for
the P2P_DEVICE interface using the MAC address of the primary
interface and setting the locally administered bit. However, the MAC
address of the primary interface may already have that bit set causing
the creation of the P2P_DEVICE interface to fail with -EBUSY. Fix this
by using a random address instead to determine the P2P_DEVICE address.
Cc: [email protected] # 3.10.y
Reported-by: Hans de Goede <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Reviewed-by: Franky Lin <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions