mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
wl1271: Fix memory leak in cmd_data_path
Fix a trivial memory leak in cmd_data_path. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
99e50314d5
commit
1b00f2b560
@ -454,7 +454,7 @@ int wl1271_cmd_data_path(struct wl1271 *wl, bool enable)
|
||||
if (ret < 0) {
|
||||
wl1271_error("tx %s cmd for channel %d failed",
|
||||
enable ? "start" : "stop", cmd->channel);
|
||||
return ret;
|
||||
goto out;
|
||||
}
|
||||
|
||||
wl1271_debug(DEBUG_BOOT, "tx %s cmd channel %d",
|
||||
|
Loading…
Reference in New Issue
Block a user