Message ID | 20211206232709.3192856-2-davidm@egauge.net (mailing list archive) |
---|---|
State | Accepted |
Commit | f92b9f96746379eb9ea5fafab1806739a5ada7da |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] wilc1000: Fix copy-and-paste typo in wilc_set_mac_address | expand |
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 --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; }
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(-)