projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f333a15
)
mac802154: turn on ACK when enabled by the upper layers
author
Tony Cheneau
<tony.cheneau@amnesiak.org>
Mon, 25 Mar 2013 17:59:24 +0000
(17:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 26 Mar 2013 16:37:55 +0000
(12:37 -0400)
Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/wpan.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac802154/wpan.c
b/net/mac802154/wpan.c
index d20c6d3c247db1b15036977e585e9e039829f3f9..7d3f6594ed4faec960aa6e18393d77b94e91a161 100644
(file)
--- a/
net/mac802154/wpan.c
+++ b/
net/mac802154/wpan.c
@@
-145,6
+145,8
@@
static int mac802154_header_create(struct sk_buff *skb,
head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */
fc = mac_cb_type(skb);
+ if (mac_cb_is_ackreq(skb))
+ fc |= IEEE802154_FC_ACK_REQ;
if (!saddr) {
spin_lock_bh(&priv->mib_lock);