ethoc: fix mac address set
authorJiri Pirko <jiri@resnulli.us>
Sun, 6 Jan 2013 03:25:45 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jan 2013 05:04:15 +0000 (21:04 -0800)
commitefc61a3442da9fd17a61fcabef445534598f54a8
tree885ee9e659de98c65128fe1b5f7ef8c4865405d5
parentb681b65d4fc0cad468c4caad02b0bc93d59b00df
ethoc: fix mac address set

Function ethoc_set_mac_address() was incorrectly using passed pointer as
pointer to address, that is not correct.
Struct sockaddr have to be be used here.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c