Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+6 −9
Original line number Original line Diff line number Diff line
@@ -1144,8 +1144,7 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void *msgp)
			/* Enable the port */
			/* Enable the port */
			result = hfa384x_drvr_enable(hw, 0);
			result = hfa384x_drvr_enable(hw, 0);
			if (result) {
			if (result) {
				pr_debug
				pr_debug("failed to enable port to presniff setting, result=%d\n",
				("failed to enable port to presniff setting, result=%d\n",
					 result);
					 result);
				goto failed;
				goto failed;
			}
			}
@@ -1186,8 +1185,7 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void *msgp)
				hfa384x_drvr_stop(hw);
				hfa384x_drvr_stop(hw);
				result = hfa384x_drvr_start(hw);
				result = hfa384x_drvr_start(hw);
				if (result) {
				if (result) {
					pr_debug
					pr_debug("failed to restart the card for sniffing, result=%d\n",
					    ("failed to restart the card for sniffing, result=%d\n",
						 result);
						 result);
					goto failed;
					goto failed;
				}
				}
@@ -1195,8 +1193,7 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void *msgp)
				/* Disable the port */
				/* Disable the port */
				result = hfa384x_drvr_disable(hw, 0);
				result = hfa384x_drvr_disable(hw, 0);
				if (result) {
				if (result) {
					pr_debug
					pr_debug("failed to enable port for sniffing, result=%d\n",
					    ("failed to enable port for sniffing, result=%d\n",
						 result);
						 result);
					goto failed;
					goto failed;
				}
				}