diff options
author | Chi-Hsien Lin <chi-hsien.lin@cypress.com> | 2020-04-27 02:00:02 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-05-04 12:48:44 +0300 |
commit | 053ac9e1438a1415a3b6b11d6e504c7a74ebd2ba (patch) | |
tree | a10e746e8095fa22891298c9e1aea4897fbb00c6 /drivers/mfd/palmas.c | |
parent | d524d5ce36555bec8b40d4b65f15acd922ac965d (diff) |
brcmfmac: only generate random p2p address when needed
P2p spec mentioned that the p2p device address should be the globally
administered address with locally administered bit set. Therefore,
follow this guideline by default.
When the primary interface is set to a locally administered address, the
locally administered bit cannot be set again. Generate a random locally
administered address for this case.
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1587970803-77700-5-git-send-email-chi-hsien.lin@cypress.com
Diffstat (limited to 'drivers/mfd/palmas.c')
0 files changed, 0 insertions, 0 deletions