summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-09-02 12:06:48 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-04 06:16:55 +0300
commitd2a6e48e5254f653decc1612f3cbee3e5c8592c7 (patch)
treed52f1ed6fc60bb1975dc50ffd9d5eb13aff64c7d /scripts/gdb/linux/utils.py
parent3ba8c81e15c11fc396d0b5d11adaf9db6ed39533 (diff)
downloadlinux-d2a6e48e5254f653decc1612f3cbee3e5c8592c7.tar.xz
net: mvpp2: fix use of the random mac address for PPv2.2
The MAC retrieval logic is using a variable to store an h/w stored mac address and checks this mac against invalid ones before using it. But the mac address is only read from h/w when using PPv2.1. So when using PPv2.2 it defaults to its init state. This patches fixes the logic to only check if the h/w mac is valid when actually retrieving a mac from h/w. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions