projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188e7f5
)
wl12xx: send testmode reply in wl1271_tm_cmd_interrogate
author
Eliad Peller
<eliad@wizery.com>
Tue, 6 Dec 2011 10:15:07 +0000
(12:15 +0200)
committer
Luciano Coelho
<coelho@ti.com>
Thu, 8 Dec 2011 10:32:36 +0000
(12:32 +0200)
wl1271_tm_cmd_interrogate creates a reply skb, but doesn't
send it (and thus just leaks it).
Add the missing cfg80211_testmode_reply() call.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/testmode.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/wl12xx/testmode.c
b/drivers/net/wireless/wl12xx/testmode.c
index 2f9ebff2ded3ae007ddf37dd3ff7636350849544..978cf2de713dce858d45cfef119eace285a0c37e 100644
(file)
--- a/
drivers/net/wireless/wl12xx/testmode.c
+++ b/
drivers/net/wireless/wl12xx/testmode.c
@@
-176,6
+176,9
@@
static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[])
}
NLA_PUT(skb, WL1271_TM_ATTR_DATA, sizeof(*cmd), cmd);
+ ret = cfg80211_testmode_reply(skb);
+ if (ret < 0)
+ goto out_free;
out_free:
kfree(cmd);