From: Sebastian Wankerl <[email protected]>

Formated pr_debug() calls

Signed-off-by: Sebastian Wankerl <[email protected]> 
Signed-off-by: Sebastian Ehrenfels <[email protected]>

---
 drivers/staging/wlan-ng/prism2mgmt.c |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2mgmt.c 
b/drivers/staging/wlan-ng/prism2mgmt.c
index 6021f89..15733c6 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1157,9 +1157,8 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void 
*msgp)
                        /* Enable the port */
                        result = hfa384x_drvr_enable(hw, 0);
                        if (result) {
-                               pr_debug
-                               ("failed to enable port to presniff setting, 
result=%d\n",
-                                    result);
+                               pr_debug("failed to enable port to presniff 
setting, result=%d\n",
+                                        result);
                                goto failed;
                        }
                } else {
@@ -1199,18 +1198,16 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void 
*msgp)
                                hfa384x_drvr_stop(hw);
                                result = hfa384x_drvr_start(hw);
                                if (result) {
-                                       pr_debug
-                                           ("failed to restart the card for 
sniffing, result=%d\n",
-                                            result);
+                                       pr_debug("failed to restart the card 
for sniffing, result=%d\n",
+                                                result);
                                        goto failed;
                                }
                        } else {
                                /* Disable the port */
                                result = hfa384x_drvr_disable(hw, 0);
                                if (result) {
-                                       pr_debug
-                                           ("failed to enable port for 
sniffing, result=%d\n",
-                                            result);
+                                       pr_debug("failed to enable port for 
sniffing, result=%d\n",
+                                                result);
                                        goto failed;
                                }
                        }
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to