git.openpandora.org
/
pandora-wifi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wl1251: Fix memory leak in data path command handling
[pandora-wifi.git]
/
drivers
/
net
/
wireless
/
wl12xx
/
wl1251_cmd.c
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",