projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98be165
)
fakelb: add support for async xmit handling
author
Alexander Aring
<alex.aring@gmail.com>
Sun, 17 May 2015 19:45:09 +0000
(21:45 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 19 May 2015 09:44:46 +0000
(11:44 +0200)
This patch will add async xmit support for the fakelb driver.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/fakelb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ieee802154/fakelb.c
b/drivers/net/ieee802154/fakelb.c
index 10e2d27dbed4627275dae1be344ffdc1d98081a3..8f37ea0fa1f514993e707db6610276de3913a8ca 100644
(file)
--- a/
drivers/net/ieee802154/fakelb.c
+++ b/
drivers/net/ieee802154/fakelb.c
@@
-87,6
+87,7
@@
fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb)
}
read_unlock_bh(&fakelb_ifup_phys_lock);
+ ieee802154_xmit_complete(hw, skb, false);
return 0;
}
@@
-112,7
+113,7
@@
fakelb_hw_stop(struct ieee802154_hw *hw) {
static const struct ieee802154_ops fakelb_ops = {
.owner = THIS_MODULE,
- .xmit_sync = fakelb_hw_xmit,
+ .xmit_
a
sync = fakelb_hw_xmit,
.ed = fakelb_hw_ed,
.set_channel = fakelb_hw_channel,
.start = fakelb_hw_start,