Commit 25c97da8 authored by Sebastian Wankerl's avatar Sebastian Wankerl Committed by Greg Kroah-Hartman

wlan-ng/prism2mgmt.c: formated too long lines

Formated pr_debug() calls
Signed-off-by: default avatarSebastian Wankerl <sisewank@cip.cs.fau.de>
Signed-off-by: default avatarSebastian Ehrenfels <qi50dube@cip.cs.fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52070c70
......@@ -1144,9 +1144,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 {
......@@ -1186,18 +1185,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;
}
}
......
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