net/hyperv: fix wrong length of mac address
authorJianjun Kong <kongjianjun@gmail.com>
Fri, 18 Jan 2013 16:52:09 +0000 (16:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2013 16:01:23 +0000 (11:01 -0500)
commit9a4c831ebbc1bf7cb41079e421a74bddd508f251
treeae607eef598dee03bfc31ce830106f83b8145789
parentc1acd7090f67471998edd1d036003fcba2c1b419
net/hyperv: fix wrong length of mac address

This patch fixed wrong mac length, it should be ETH_ALEN,
also replaced the hardcode 6 in hyperv_net.h

Signed-off-by: Amos Kong <kongjianjun@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c