aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipin Mehta <vmehta@atheros.com>2011-02-18 16:13:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-18 16:28:52 -0500
commit0ad7fdde6cfba9b0cf716bbd9549b05f195b8ebb (patch)
tree4b7a7f26816a1f94dd75865bd57a34e239d42597
parent711a1bccf23a54868d94af200061d35207c358e9 (diff)
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>
-rw-r--r--drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
index 4d6feeae2882..850472404ff4 100644
--- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
+++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
@@ -1092,6 +1092,7 @@ static int hifDeviceSuspend(struct device *dev)
1092 device->is_suspend = false; 1092 device->is_suspend = false;
1093 } 1093 }
1094 } 1094 }
1095 CleanupHIFScatterResources(device);
1095 AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n")); 1096 AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
1096 1097
1097 switch (status) { 1098 switch (status) {