mlxsw: minimal: Initialize base_mac
authorJiri Pirko <jiri@mellanox.com>
Tue, 12 Mar 2019 08:40:42 +0000 (08:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2019 21:55:16 +0000 (14:55 -0700)
commit426aa1fc622527d7941d0e1b0032b6bd697534e4
tree1881c7dfab78650f58956d87b9f10994c37fc70a
parent6bab45b4de0d70f56ac163fd0b105c0c76451515
mlxsw: minimal: Initialize base_mac

Currently base_mac is not initialized which causes wrong reporting of
zeroed parent_id to userspace. Fix this by initializing base_mac
properly.

Fixes: c100e47caa8e ("mlxsw: minimal: Add ethtool support")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/minimal.c