projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a950ea
)
ath6kl: Fix memory leak when unloading ath6kl_sdio
author
Vasanthakumar Thiagarajan
<
[email protected]
>
Sat, 21 Jan 2012 09:52:49 +0000
(15:22 +0530)
committer
Kalle Valo
<
[email protected]
>
Tue, 24 Jan 2012 12:12:26 +0000
(14:12 +0200)
The patch "ath6kl: create core.c" removes wiphy_free() from
ath6kl_cfg80211_cleanup() and misses to free wiphy in
ath6kl_sdio_remove(). This patch fixes this regression.
Signed-off-by: Vasanthakumar Thiagarajan <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/ath6kl/sdio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/sdio.c
b/drivers/net/wireless/ath/ath6kl/sdio.c
index 7bb61077c4062cbf7bf295ff0c887bdc52ea2f5b..d9f55914b893982438d6cbfa044c9cfd83498c83 100644
(file)
--- a/
drivers/net/wireless/ath/ath6kl/sdio.c
+++ b/
drivers/net/wireless/ath/ath6kl/sdio.c
@@
-1314,6
+1314,7
@@
static void ath6kl_sdio_remove(struct sdio_func *func)
cancel_work_sync(&ar_sdio->wr_async_work);
ath6kl_core_cleanup(ar_sdio->ar);
+ ath6kl_core_destroy(ar_sdio->ar);
kfree(ar_sdio->dma_buffer);
kfree(ar_sdio);