Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220961
b: refs/heads/master
c: d654567
h: refs/heads/master
i:
  220959: e673872
v: v3
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Oct 27, 2010
1 parent 092f95a commit 761d469
Show file tree
Hide file tree
Showing 2 changed files with 9 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: e609e2ea2cdb3448e7849703179cd792a28dcc55
refs/heads/master: d654567dec75782d6fd9add4b7b9c50e0926d369
10 changes: 8 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/hif_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,10 +801,16 @@ static int ath9k_hif_usb_download_fw(struct hif_device_usb *hif_dev)
}
kfree(buf);

if ((hif_dev->device_id == 0x7010) || (hif_dev->device_id == 0x7015))
switch (hif_dev->device_id) {
case 0x7010:
case 0x7015:
case 0x9018:
firm_offset = AR7010_FIRMWARE_TEXT;
else
break;
default:
firm_offset = AR9271_FIRMWARE_TEXT;
break;
}

/*
* Issue FW download complete command to firmware.
Expand Down

0 comments on commit 761d469

Please sign in to comment.