X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fmagpie_fw_dev%2Ftarget%2Fhif%2Fk2_HIF_usb_patch.c;h=6276f79d4c37e2bbcdfe77ef3076404744ac6c3d;hb=f206e56128c3796d1c87419de31c0d5126c79abf;hp=ab8237f54f99653bbcdeca80d9d8088ba79e0a8a;hpb=e9e39b3bf6b4de3b609a5e4ec941254aecfe5cf4;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c b/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c index ab8237f..6276f79 100755 --- a/target_firmware/magpie_fw_dev/target/hif/k2_HIF_usb_patch.c +++ b/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); }