git.openpandora.org
/
pandora-wifi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3664e06
)
wl1251: Fix memory leak in data path command handling
author
Yuri Ershov
<ext-yuri.ershov@nokia.com>
Wed, 27 Oct 2010 10:45:18 +0000
(14:45 +0400)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 5 Mar 2011 21:18:01 +0000
(23:18 +0200)
This patch fixes a memory leak in the data path command handling code.
Signed-off-by: Yuri Ershov <ext-yuri.ershov@nokia.com>
drivers/net/wireless/wl12xx/wl1251_cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/wl1251_cmd.c
b/drivers/net/wireless/wl12xx/wl1251_cmd.c
index
c0cdcd0
..
fcae4bc
100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1251_cmd.c
+++ b/
drivers/net/wireless/wl12xx/wl1251_cmd.c
@@
-264,7
+264,7
@@
int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable)
if (ret < 0) {
wl1251_error("tx %s cmd for channel %d failed",
enable ? "start" : "stop", channel);
-
return re
t;
+
goto ou
t;
}
wl1251_debug(DEBUG_BOOT, "tx %s cmd channel %d",