Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197083
b: refs/heads/master
c: 4ffab68
h: refs/heads/master
i:
  197081: d07faf9
  197079: ba3c7be
v: v3
  • Loading branch information
Edgardo Hames authored and Greg Kroah-Hartman committed May 11, 2010
1 parent fc3a67c commit 5ce2077
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 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: 5813b6243cf02b89c6e6a6a8debc10477e5ce3a8
refs/heads/master: 4ffab688827361bcdaca6ac83bbda195c53bd098
19 changes: 8 additions & 11 deletions trunk/drivers/staging/wlan-ng/hfa384x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2612,19 +2612,18 @@ int hfa384x_drvr_start(hfa384x_t *hw)
if (result1 != 0) {
if (result2 != 0) {
printk(KERN_ERR
"cmd_initialize() failed on two attempts,"
" results %d and %d\n", result1, result2);
"cmd_initialize() failed on two attempts, results %d and %d\n",
result1, result2);
usb_kill_urb(&hw->rx_urb);
goto done;
} else {
pr_debug("First cmd_initialize() failed (result %d),\n",
result1);
pr_debug("but second attempt succeeded."
" All should be ok\n");
pr_debug("but second attempt succeeded. All should be ok\n");
}
} else if (result2 != 0) {
printk(KERN_WARNING "First cmd_initialize() succeeded,"
" but second attempt failed (result=%d)\n", result2);
printk(KERN_WARNING "First cmd_initialize() succeeded, but second attempt failed (result=%d)\n",
result2);
printk(KERN_WARNING
"Most likely the card will be functional\n");
goto done;
Expand Down Expand Up @@ -3382,9 +3381,7 @@ static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin,
* our request has been acknowledged. Odd,
* but our OUT URB is still alive...
*/
pr_debug("Causality violation: "
"please reboot Universe, or email "
"linux-wlan-devel@lists.linux-wlan.com\n");
pr_debug("Causality violation: please reboot Universe\n");
ctlx->state = CTLX_RESP_COMPLETE;
break;

Expand Down Expand Up @@ -3848,8 +3845,8 @@ static void hfa384x_ctlxout_callback(struct urb *urb)

default:
/* This is NOT a valid CTLX "success" state! */
printk(KERN_ERR "Illegal CTLX[%d]"
" success state(%s, %d) in OUT URB\n",
printk(KERN_ERR
"Illegal CTLX[%d] success state(%s, %d) in OUT URB\n",
le16_to_cpu(ctlx->outbuf.type),
ctlxstr(ctlx->state), urb->status);
break;
Expand Down

0 comments on commit 5ce2077

Please sign in to comment.