diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-18 16:50:14 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-20 12:39:45 +0300 |
commit | e3f90395c4f20561ce0d39822d17dae1c9fd49ce (patch) | |
tree | 34fbf2ab9d45b37c994905b20c0ca71cd0f47c08 /drivers/net/wireless/intel/ipw2x00 | |
parent | fba610c5bf70f7c959ac8501e7d47f414b6eb211 (diff) | |
download | linux-e3f90395c4f20561ce0d39822d17dae1c9fd49ce.tar.bz2 |
airo: use eth_hw_addr_set()
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.
Use dev_addr_set() to match the existing logic.
setup_card() is always passed netdev->dev_addr, so pass the netdev
pointer instead and assign the address using a helper there.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211018235021.1279697-9-kuba@kernel.org
Diffstat (limited to 'drivers/net/wireless/intel/ipw2x00')
0 files changed, 0 insertions, 0 deletions