diff options
| -rw-r--r-- | hif/inc/hif.h | 2 | ||||
| -rw-r--r-- | hif/src/hif_main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hif/inc/hif.h b/hif/inc/hif.h index a47e7cd46183..6c513e3e05b2 100644 --- a/hif/inc/hif.h +++ b/hif/inc/hif.h @@ -789,7 +789,7 @@ hif_reg_based_get_target_info(struct hif_opaque_softc *hif_ctx, * Return: void */ void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif, - uint8_t ce_service_max_yield_time); + uint32_t ce_service_max_yield_time); /** * hif_get_ce_service_max_yield_time() - get CE service max yield time diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 55d0cdff9132..97c471b15aa5 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c @@ -1125,12 +1125,12 @@ void hif_ramdump_handler(struct hif_opaque_softc *scn) #endif void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif, - uint8_t ce_service_max_yield_time) + uint32_t ce_service_max_yield_time) { struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); hif_ctx->ce_service_max_yield_time = - ce_service_max_yield_time * 1000 * 1000; + ce_service_max_yield_time * 1000; } unsigned long long |
