1 --- a/drivers/net/wireless/ath/carl9170/usb.c
2 +++ b/drivers/net/wireless/ath/carl9170/usb.c
3 @@ -1000,11 +1000,28 @@ err_failed:
4 ar9170_usb_firmware_failed(aru);
9 static int ar9170_usb_request_firmware(struct ar9170_usb *aru)
11 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
12 + const struct firmware *fw;
15 + ret = request_firmware(&fw,
16 + ar9170_fws[aru->fw_load].files[aru->fw_files].name,
22 + ar9170_usb_firmware_step2(fw, aru);
25 return request_firmware_nowait(THIS_MODULE, 1,
26 ar9170_fws[aru->fw_load].files[aru->fw_files].name,
27 &aru->udev->dev, GFP_KERNEL, aru, ar9170_usb_firmware_step2);
31 static void ar9170_usb_disconnect(struct usb_interface *intf)