diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hif_usb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hif_usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c index fde54446973f..7dc20489f2e2 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c | |||
@@ -916,13 +916,11 @@ static int ath9k_hif_usb_dev_init(struct hif_device_usb *hif_dev, u32 drv_info) | |||
916 | if (ret) { | 916 | if (ret) { |
917 | dev_err(&hif_dev->udev->dev, | 917 | dev_err(&hif_dev->udev->dev, |
918 | "ath9k_htc: Unable to allocate URBs\n"); | 918 | "ath9k_htc: Unable to allocate URBs\n"); |
919 | goto err_urb; | 919 | goto err_fw_download; |
920 | } | 920 | } |
921 | 921 | ||
922 | return 0; | 922 | return 0; |
923 | 923 | ||
924 | err_urb: | ||
925 | ath9k_hif_usb_dealloc_urbs(hif_dev); | ||
926 | err_fw_download: | 924 | err_fw_download: |
927 | release_firmware(hif_dev->firmware); | 925 | release_firmware(hif_dev->firmware); |
928 | err_fw_req: | 926 | err_fw_req: |