提交 eaa4d14c 编写于 作者: J Jes Sorensen 提交者: Kalle Valo

rtl8xxxu: Do not overwrite rtl8xxxu_debug for untested chips

Fix a silly bug where the debug level was overwritten rather than
amended for untested chips.
Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 c7a5a190
......@@ -6391,7 +6391,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
}
if (untested) {
rtl8xxxu_debug = RTL8XXXU_DEBUG_EFUSE;
rtl8xxxu_debug |= RTL8XXXU_DEBUG_EFUSE;
dev_info(&udev->dev,
"This Realtek USB WiFi dongle (0x%04x:0x%04x) is untested!\n",
id->idVendor, id->idProduct);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册