Commit 18dc5a4b authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Kalle Valo

wlcore: remove duplicate \n for some warnings

wl1271_warning() already appends a \n to the format,
so adding one to the warning string gives empty lines in the log.
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 1e591c56
...@@ -6160,16 +6160,16 @@ static int wl1271_register_hw(struct wl1271 *wl) ...@@ -6160,16 +6160,16 @@ static int wl1271_register_hw(struct wl1271 *wl)
} }
if (oui_addr == 0xdeadbe && nic_addr == 0xef0000) { if (oui_addr == 0xdeadbe && nic_addr == 0xef0000) {
wl1271_warning("Detected unconfigured mac address in nvs, derive from fuse instead.\n"); wl1271_warning("Detected unconfigured mac address in nvs, derive from fuse instead.");
if (!strcmp(pdev_data->family->name, "wl18xx")) { if (!strcmp(pdev_data->family->name, "wl18xx")) {
wl1271_warning("This default nvs file can be removed from the file system\n"); wl1271_warning("This default nvs file can be removed from the file system");
} else { } else {
wl1271_warning("Your device performance is not optimized.\n"); wl1271_warning("Your device performance is not optimized.");
wl1271_warning("Please use the calibrator tool to configure your device.\n"); wl1271_warning("Please use the calibrator tool to configure your device.");
} }
if (wl->fuse_oui_addr == 0 && wl->fuse_nic_addr == 0) { if (wl->fuse_oui_addr == 0 && wl->fuse_nic_addr == 0) {
wl1271_warning("Fuse mac address is zero. using random mac\n"); wl1271_warning("Fuse mac address is zero. using random mac");
/* Use TI oui and a random nic */ /* Use TI oui and a random nic */
oui_addr = WLCORE_TI_OUI_ADDRESS; oui_addr = WLCORE_TI_OUI_ADDRESS;
nic_addr = get_random_int(); nic_addr = get_random_int();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment