wilc1000: Fix copy-and-paste typo in wilc_set_mac_address
authorDavid Mosberger-Tang <davidm@egauge.net>
Mon, 6 Dec 2021 23:27:29 +0000 (23:27 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 14 Dec 2021 18:42:33 +0000 (20:42 +0200)
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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211206232709.3192856-2-davidm@egauge.net
drivers/net/wireless/microchip/wilc1000/hif.c

index e69b9c7..a019da0 100644 (file)
@@ -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;
 }