summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2015-10-09 13:26:34 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-10-14 13:22:07 +0200
commitfe24372d1b115863905174aa3c9f988c1eb40630 (patch)
treea84b51a6700887bb2e39b5c69fba904f08d5c9ad /drivers
parentmwifiex: fix AP VHT behaviour (diff)
downloadlinux-fe24372d1b115863905174aa3c9f988c1eb40630.tar.xz
linux-fe24372d1b115863905174aa3c9f988c1eb40630.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/mwifiex/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c
index 6e3faa74389c..969ca1e1f3e9 100644
--- a/drivers/net/wireless/mwifiex/main.c
+++ b/drivers/net/wireless/mwifiex/main.c
@@ -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,