{
int status = 0;
struct hif_device *device;
- AR_DEBUG_ASSERT(func != NULL);
device = ath6kl_get_hifdev(func);
if (device->claimedContext != NULL)
CleanupHIFScatterResources(device);
delHifDevice(device);
- AR_DEBUG_ASSERT(status == 0);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceRemoved\n"));
}
#if defined(CONFIG_PM)
struct hif_device *device;
device = ath6kl_get_hifdev(func);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_suspend\n"));
if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
}
CleanupHIFScatterResources(device);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_suspend\n"));
switch (status) {
case 0:
struct hif_device *device;
device = ath6kl_get_hifdev(func);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_resume\n"));
if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
status = osdrvCallbacks.
if (status == 0)
device->is_suspend = false;
}
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_resume\n"));
return status;
}