summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.c
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 /drivers/net/wireless/mwifiex/main.c
parent505c5cb82ddf0fb6a88d1fc2fbf2386133a9ffcd (diff)
downloadop-kernel-dev-fe24372d1b115863905174aa3c9f988c1eb40630.zip
op-kernel-dev-fe24372d1b115863905174aa3c9f988c1eb40630.tar.gz
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/net/wireless/mwifiex/main.c')
-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 6e3faa7..969ca1e 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,
OpenPOWER on IntegriCloud