X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fwlan%2Fah_osdep.c;h=eebf7225377e94ad1f21eaa1988bba48a3e1262c;hb=5137137f342909a8b32d26669e2c6f70c6238631;hp=7cb22663580b80ebdecb315864dc7e0e6eb5dfd6;hpb=3d014a53a05fc905c4bd1ebfac6fc880124bed9f;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/wlan/ah_osdep.c b/target_firmware/wlan/ah_osdep.c index 7cb2266..eebf722 100755 --- a/target_firmware/wlan/ah_osdep.c +++ b/target_firmware/wlan/ah_osdep.c @@ -48,7 +48,6 @@ #include #include #include -#include #include "ah.h" #include @@ -62,21 +61,15 @@ ath_hal_getuptime(struct ath_hal *ah) struct ath_hal * _ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC sc, - adf_os_device_t dev,HAL_BUS_HANDLE sh, a_uint32_t flags, void* s) + adf_os_device_t dev, a_uint32_t flags, void* s) { HAL_STATUS status; - struct ath_hal *ah = ath_hal_attach_tgt(devid,sc,dev,sh, flags, &status); + struct ath_hal *ah = ath_hal_attach_tgt(devid, sc, dev, flags, &status); adf_os_print(" ath_hal = %p \n",ah); *(HAL_STATUS *)s = status; return ah; } -void -ath_hal_detach(struct ath_hal *ah) -{ - (*ah->ah_detach)(ah); -} - extern void *global_hdl; /*