Skip to content

Commit

Permalink
rtl8xxxu: Do not overwrite rtl8xxxu_debug for untested chips
Browse files Browse the repository at this point in the history
Fix a silly bug where the debug level was overwritten rather than
amended for untested chips.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Jes Sorensen authored and Kalle Valo committed Mar 10, 2016
1 parent c7a5a19 commit eaa4d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eaa4d14

Please sign in to comment.