summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2015-10-09 04:26:34 -0700
committerKalle Valo <kvalo@codeaurora.org>2015-10-14 14:22:07 +0300
commitfe24372d1b115863905174aa3c9f988c1eb40630 (patch)
treea84b51a6700887bb2e39b5c69fba904f08d5c9ad
parent505c5cb82ddf0fb6a88d1fc2fbf2386133a9ffcd (diff)
downloadlinux-stable-fe24372d1b115863905174aa3c9f988c1eb40630.tar.gz
linux-stable-fe24372d1b115863905174aa3c9f988c1eb40630.tar.bz2
linux-stable-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>
-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,