projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505c5cb
)
mwifiex: add ndo_validate_addr netdev ops
author
Amitkumar Karwar
<akarwar@marvell.com>
Fri, 9 Oct 2015 11:26:34 +0000
(
04:26
-0700)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 14 Oct 2015 11:22:07 +0000
(14:22 +0300)
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>
drivers/net/wireless/mwifiex/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/mwifiex/main.c
b/drivers/net/wireless/mwifiex/main.c
index 6e3faa74389c56283980779611955a16bb21cd45..969ca1e1f3e9f805d26edd3ed9f6ea8d839fc9b7 100644
(file)
--- 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,