Commit b4e3e6ee authored by Cristina Opriceana's avatar Cristina Opriceana Committed by Greg Kroah-Hartman

Staging: rtl8192u: Replace printk() with netdev_dbg()

This patch replaces the printk() function with netdev_dbg() in order to
fix the following: "WARNING: printk() should include KERN_ facility level"
and "WARNING: line over 80 characters".

Issue found by checkpatch.pl
Signed-off-by: default avatarCristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5b2965b6
...@@ -1947,9 +1947,9 @@ void ieee80211_check_auth_response(struct ieee80211_device *ieee, ...@@ -1947,9 +1947,9 @@ void ieee80211_check_auth_response(struct ieee80211_device *ieee,
bSupportNmode = false; bSupportNmode = false;
bHalfSupportNmode = false; bHalfSupportNmode = false;
} }
printk("==========>to link with AP using SEC(%d, %d)", netdev_dbg(ieee->dev, "SEC(%d, %d)\n",
bSupportNmode, bSupportNmode,
bHalfSupportNmode); bHalfSupportNmode);
} }
} }
/* Dummy wirless mode setting- avoid encryption issue */ /* Dummy wirless mode setting- avoid encryption issue */
...@@ -1964,7 +1964,7 @@ void ieee80211_check_auth_response(struct ieee80211_device *ieee, ...@@ -1964,7 +1964,7 @@ void ieee80211_check_auth_response(struct ieee80211_device *ieee,
if (ieee->current_network.mode == IEEE_N_24G && if (ieee->current_network.mode == IEEE_N_24G &&
bHalfSupportNmode == true) { bHalfSupportNmode == true) {
printk("===============>entern half N mode\n"); netdev_dbg(ieee->dev, "enter half N mode\n");
ieee->bHalfWirelessN24GMode = true; ieee->bHalfWirelessN24GMode = true;
} else } else
ieee->bHalfWirelessN24GMode = false; ieee->bHalfWirelessN24GMode = false;
......
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