diff options
author | Hari Vyas <hariv@broadcom.com> | 2017-03-02 23:59:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-03 18:44:28 +0100 |
commit | fa42245dff4a5f2f8f208da542acbd80c22f7c65 (patch) | |
tree | e8563495264c20d363e421cdcd9aa3291b0d5bf8 /drivers/acpi/device_pm.c | |
parent | net: ethernet: bgmac: init sequence bug (diff) | |
download | linux-fa42245dff4a5f2f8f208da542acbd80c22f7c65.tar.xz linux-fa42245dff4a5f2f8f208da542acbd80c22f7c65.zip |
net: ethernet: bgmac: mac address change bug
ndo_set_mac_address() passes struct sockaddr * as 2nd parameter to
bgmac_set_mac_address() but code assumed u8 *. This caused two bytes
chopping and the wrong mac address was configured.
Signed-off-by: Hari Vyas <hariv@broadcom.com>
Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Fixes: 4e209001b86 ("bgmac: write mac address to hardware in ndo_set_mac_address")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions