提交 a09c07a8 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

fakelb: add support for async xmit handling

This patch will add async xmit support for the fakelb driver.
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 98be165b
...@@ -87,6 +87,7 @@ fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb) ...@@ -87,6 +87,7 @@ fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb)
} }
read_unlock_bh(&fakelb_ifup_phys_lock); read_unlock_bh(&fakelb_ifup_phys_lock);
ieee802154_xmit_complete(hw, skb, false);
return 0; return 0;
} }
...@@ -112,7 +113,7 @@ fakelb_hw_stop(struct ieee802154_hw *hw) { ...@@ -112,7 +113,7 @@ fakelb_hw_stop(struct ieee802154_hw *hw) {
static const struct ieee802154_ops fakelb_ops = { static const struct ieee802154_ops fakelb_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.xmit_sync = fakelb_hw_xmit, .xmit_async = fakelb_hw_xmit,
.ed = fakelb_hw_ed, .ed = fakelb_hw_ed,
.set_channel = fakelb_hw_channel, .set_channel = fakelb_hw_channel,
.start = fakelb_hw_start, .start = fakelb_hw_start,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册