Skip to content

Commit

Permalink
staging: ath6kl: Fixing a memory leak
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 774c1fe commit 1581595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,9 @@ ar6000_stop_endpoint(struct net_device *dev, bool keepprofile, bool getdbglogs)
}
/* Done with cookies */
ar6000_cookie_cleanup(ar);

/* cleanup any allocated AMSDU buffers */
ar6000_cleanup_amsdu_rxbufs(ar);
}
/*
* We need to differentiate between the surprise and planned removal of the
Expand Down

0 comments on commit 1581595

Please sign in to comment.