Skip to content

Commit

Permalink
[PATCH] pegasus NULL noise removal
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent b76be68 commit 9727d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/net/pegasus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,11 +1388,11 @@ static int pegasus_resume (struct usb_interface *intf)
if (netif_running(pegasus->net)) {
pegasus->rx_urb->status = 0;
pegasus->rx_urb->actual_length = 0;
read_bulk_callback(pegasus->rx_urb, 0);
read_bulk_callback(pegasus->rx_urb, NULL);

pegasus->intr_urb->status = 0;
pegasus->intr_urb->actual_length = 0;
intr_callback(pegasus->intr_urb, 0);
intr_callback(pegasus->intr_urb, NULL);

queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check,
CARRIER_CHECK_DELAY);
Expand Down

0 comments on commit 9727d04

Please sign in to comment.