staging: ath6kl: Fixing memory leak

The patch fixes a mismatch in the allocation and free of scatter HIF bus
requests in the suspend/resume path.

Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Vipin Mehta 2011-02-18 13:13:12 -08:00 committed by Greg Kroah-Hartman
parent 711a1bccf2
commit 0ad7fdde6c
1 changed files with 1 additions and 0 deletions

View File

@ -1092,6 +1092,7 @@ static int hifDeviceSuspend(struct device *dev)
device->is_suspend = false;
}
}
CleanupHIFScatterResources(device);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
switch (status) {