Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a09c07a8 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

fakelb: add support for async xmit handling



This patch will add async xmit support for the fakelb driver.

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 98be165b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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_async = fakelb_hw_xmit,
	.ed = fakelb_hw_ed,
	.set_channel = fakelb_hw_channel,
	.start = fakelb_hw_start,