diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index f946e00d36c2..3de4f9984e5d 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -442,7 +442,7 @@ static void handle_set_mac_address(struct wilc_vif *vif, ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1, wilc_get_vif_idx(vif)); if (ret) - PRINT_ER("Failed to set mac address\n"); + netdev_err(vif->ndev, "Failed to set mac address\n"); kfree(mac_buf); }