aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/et131x/et131x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index 2c4069fcd981..b055731f8d88 100644
--- a/drivers/staging/et131x/et131x.c
+++ b/drivers/staging/et131x/et131x.c
@@ -5177,7 +5177,7 @@ static int et131x_set_mac_addr(struct net_device *netdev, void *new_mac)
5177 5177
5178 /* Make sure the requested MAC is valid */ 5178 /* Make sure the requested MAC is valid */
5179 if (!is_valid_ether_addr(address->sa_data)) 5179 if (!is_valid_ether_addr(address->sa_data))
5180 return -EINVAL; 5180 return -EADDRNOTAVAIL;
5181 5181
5182 et131x_disable_txrx(netdev); 5182 et131x_disable_txrx(netdev);
5183 et131x_handle_send_interrupt(adapter); 5183 et131x_handle_send_interrupt(adapter);