X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fhif%2Fk2_HIF_usb_patch.c;fp=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fhif%2Fk2_HIF_usb_patch.c;h=6276f79d4c37e2bbcdfe77ef3076404744ac6c3d;hp=ab8237f54f99653bbcdeca80d9d8088ba79e0a8a;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=a2fe6b1f6253377c952c224d4ec9d55b196660ce diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c b/ath9k_htc/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c index ab8237f..6276f79 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c @@ -40,13 +40,14 @@ #include #include #include -#include +#include #include +#include #include "hif_usb.h" /* - * -- support more than 64 bytes command on ep4 -- + * -- support more than 64 bytes command on ep4 -- */ int _HIFusb_get_max_msg_len_patch(hif_handle_t handle, int pipe) { @@ -54,7 +55,7 @@ int _HIFusb_get_max_msg_len_patch(hif_handle_t handle, int pipe) case HIF_USB_PIPE_INTERRUPT: case HIF_USB_PIPE_COMMAND: return 512; - + default: return 1600; } @@ -67,5 +68,5 @@ void _HIFusb_isr_handler_patch(hif_handle_t h) { A_USB_FW_TASK(); - _HIFusb_isr_handler(); + _HIFusb_isr_handler(h); }