Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354096
b: refs/heads/master
c: 25c97da
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Wankerl authored and Greg Kroah-Hartman committed Jan 20, 2013
1 parent 11f577b commit e4b0af7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52070c709dbc493da550086709934e6028457a7c
refs/heads/master: 25c97da8b975d8717a0242c651896b56b2696060
15 changes: 6 additions & 9 deletions trunk/drivers/staging/wlan-ng/prism2mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e4b0af7

Please sign in to comment.