aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <[email protected]>2021-03-03 19:50:07 +0000
committerKalle Valo <[email protected]>2021-04-17 20:51:06 +0300
commita381b78a1598dde34a6e40dae2842024308a6ef2 (patch)
tree124ee6c3c92e09adda8a417b8c01de7df67e2ffb /scripts/objdiff
parentc872e7ae056f16e27311fb30d637032cc3b1cb46 (diff)
wilc1000: Bring MAC address setting in line with typical Linux behavior
Linux network drivers normally disallow changing the MAC address when the interface is up. This driver has been different in that it allows to change the MAC address *only* when it's up. This patch brings wilc1000 behavior more in line with other network drivers. We could have replaced wilc_set_mac_addr() with eth_mac_addr() but that would break existing documentation on how to change the MAC address. Likewise, return -EADDRNOTAVAIL (not -EINVAL) when the specified MAC address is invalid or unavailable. Signed-off-by: David Mosberger-Tang <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions