diff options
author | Crag.Wang | 2019-04-22 13:03:43 +0800 |
---|---|---|
committer | David S. Miller | 2019-04-22 22:14:43 -0700 |
commit | a6cbcb7793596eb8b8dd9564e534c5cfc0a4fdbc (patch) | |
tree | ba27ae3125487e31260e3d63f44b332651e7ccbc /net/bridge | |
parent | 6f97955fd2741ac4d73c1ba328870253ded680c8 (diff) |
r8152: sync sa_family with the media type of network device
Without this patch the socket address family sporadically gets wrong
value ends up the dev_set_mac_address() fails to set the desired MAC
address.
Fixes: 25766271e42f ("r8152: Refresh MAC address during USBDEVFS_RESET")
Signed-off-by: Crag.Wang <crag.wang@dell.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-By: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions