summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorWright Feng <wright.feng@cypress.com>2020-06-04 10:18:32 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-07-14 12:43:43 +0300
commit1eb4e9f629981941f3e03c65eee2ee7178a62d4e (patch)
tree29dea5af3d662818e298ba8f38c04aae57107edc /include/linux/platform_data
parent698bae2e6ea139cd67debf7e8eb064056783b5bf (diff)
downloadlinux-1eb4e9f629981941f3e03c65eee2ee7178a62d4e.tar.xz
brcmfmac: fix invalid permanent MAC address in wiphy
When host driver retrieves mac addresses from dongle, driver copies memory from drvr->mac to perm_addr. But at the moment, drvr->mac is all zero array which causes permanent MAC address in wiphy is all zero as well. To fix this, we set drvr->mac before setting perm_addr. Signed-off-by: Wright Feng <wright.feng@cypress.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200604071835.3842-3-wright.feng@cypress.com
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions