forked from Minki/linux
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:
parent
711a1bccf2
commit
0ad7fdde6c
@ -1092,6 +1092,7 @@ static int hifDeviceSuspend(struct device *dev)
|
|||||||
device->is_suspend = false;
|
device->is_suspend = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
CleanupHIFScatterResources(device);
|
||||||
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
|
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
|
||||||
|
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user