diff mbox series

[1/2] wilc1000: Fix copy-and-paste typo in wilc_set_mac_address

Message ID 20211206232709.3192856-2-davidm@egauge.net
State New
Headers show
Series [1/2] wilc1000: Fix copy-and-paste typo in wilc_set_mac_address | expand

Commit Message

David Mosberger-Tang Dec. 6, 2021, 11:27 p.m. UTC
The messages appears to have been copied from wilc_get_mac_address and
says "get" when it should say "set".

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
---
 drivers/net/wireless/microchip/wilc1000/hif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Dec. 14, 2021, 6:43 p.m. UTC | #1
David Mosberger-Tang <davidm@egauge.net> wrote:

> The messages appears to have been copied from wilc_get_mac_address and
> says "get" when it should say "set".
> 
> Signed-off-by: David Mosberger-Tang <davidm@egauge.net>

2 patches applied to wireless-drivers-next.git, thanks.

f92b9f967463 wilc1000: Fix copy-and-paste typo in wilc_set_mac_address
5ae660641db8 wilc1000: Fix missing newline in error message
diff mbox series

Patch

diff --git a/drivers/net/wireless/microchip/wilc1000/hif.c b/drivers/net/wireless/microchip/wilc1000/hif.c
index e69b9c7f3d31..a019da0bfc3f 100644
--- a/drivers/net/wireless/microchip/wilc1000/hif.c
+++ b/drivers/net/wireless/microchip/wilc1000/hif.c
@@ -1312,7 +1312,7 @@  int wilc_set_mac_address(struct wilc_vif *vif, u8 *mac_addr)
 
 	result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1);
 	if (result)
-		netdev_err(vif->ndev, "Failed to get mac address\n");
+		netdev_err(vif->ndev, "Failed to set mac address\n");
 
 	return result;
 }