mirror of https://gitee.com/openkylin/linux.git
mwifiex: add ndo_validate_addr netdev ops
ndo_validate_addr is set to generic eth_validate_addr() function used for MAC address validation. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
505c5cb82d
commit
fe24372d1b
|
@ -1199,6 +1199,7 @@ static const struct net_device_ops mwifiex_netdev_ops = {
|
|||
.ndo_stop = mwifiex_close,
|
||||
.ndo_start_xmit = mwifiex_hard_start_xmit,
|
||||
.ndo_set_mac_address = mwifiex_set_mac_address,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_tx_timeout = mwifiex_tx_timeout,
|
||||
.ndo_get_stats = mwifiex_get_stats,
|
||||
.ndo_set_rx_mode = mwifiex_set_multicast_list,
|
||||
|
|
Loading…
Reference in New Issue