diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-08 02:38:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-09 03:00:47 +0100 |
commit | 948b337e62ca96b6e7de06fdd5f6fe44769d7e9c (patch) | |
tree | 801e99a0a85a7030dc0c5cde8907d54860ac6716 /drivers/net/ethernet/intel/e100.c | |
parent | netconsole: add IPv6 example in doc (diff) | |
download | linux-948b337e62ca96b6e7de06fdd5f6fe44769d7e9c.tar.xz linux-948b337e62ca96b6e7de06fdd5f6fe44769d7e9c.zip |
net: init perm_addr in register_netdevice()
Benefit from the fact that dev->addr_assign_type is set to NET_ADDR_PERM
in case the device has permanent address.
This also fixes the problem that many drivers do not set perm_addr at
all.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e100.c')
0 files changed, 0 insertions, 0 deletions