diff options
author | Vipin Mehta <vmehta@atheros.com> | 2011-02-18 16:13:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 16:28:51 -0500 |
commit | 1581595dd918481e2df9927e08c71c5635b9af1e (patch) | |
tree | 8272c034b31f8e08c67d172f103b616f25ce9e4e | |
parent | 774c1fe2fe9f14c657deb63705ef044f7af9a6cb (diff) |
staging: ath6kl: Fixing a memory leak
Fix for a memory leak discovered during suspend/resume testing.
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/ath6kl/os/linux/ar6000_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c index f084a92c9209..93592af1d052 100644 --- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c +++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c | |||
@@ -2052,6 +2052,9 @@ ar6000_stop_endpoint(struct net_device *dev, bool keepprofile, bool getdbglogs) | |||
2052 | } | 2052 | } |
2053 | /* Done with cookies */ | 2053 | /* Done with cookies */ |
2054 | ar6000_cookie_cleanup(ar); | 2054 | ar6000_cookie_cleanup(ar); |
2055 | |||
2056 | /* cleanup any allocated AMSDU buffers */ | ||
2057 | ar6000_cleanup_amsdu_rxbufs(ar); | ||
2055 | } | 2058 | } |
2056 | /* | 2059 | /* |
2057 | * We need to differentiate between the surprise and planned removal of the | 2060 | * We need to differentiate between the surprise and planned removal of the |