OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/drivers/net/wireless/wl12xx/testmode.c
b/drivers/net/wireless/wl12xx/testmode.c
index
2f9ebff
..
978cf2d
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);