Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195016
b: refs/heads/master
c: 5a147e8
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and John W. Linville committed May 11, 2010
1 parent 3437edd commit dfb00f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: cc755896a4274f11283bca32d1d658203844057a
refs/heads/master: 5a147e8bf982f9dd414c1dd751fe02c1942506b2
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/ar9170/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <linux/usb.h>
#include <linux/firmware.h>
#include <linux/etherdevice.h>
#include <linux/device.h>
#include <net/mac80211.h>
#include "ar9170.h"
#include "cmd.h"
Expand Down Expand Up @@ -739,10 +740,10 @@ static void ar9170_usb_firmware_failed(struct ar9170_usb *aru)

/* unbind anything failed */
if (parent)
down(&parent->sem);
device_lock(parent);
device_release_driver(&aru->udev->dev);
if (parent)
up(&parent->sem);
device_unlock(parent);
}

static void ar9170_usb_firmware_finish(const struct firmware *fw, void *context)
Expand Down

0 comments on commit dfb00f0

Please sign in to comment.