drivers: ieee802154_dw1000: use dedicated workqueue
Driver has dedicated workqueue for IRQ processing. Submit work to dedicated workqueue intead of system workqueue. It also fixes driver functionality when NET_TC_TX_COUNT is set to 0. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
b49766f001
commit
eeb4434d2e
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ static void dwt_gpio_callback(const struct device *dev,
|
|||
struct dwt_context *ctx = CONTAINER_OF(cb, struct dwt_context, gpio_cb);
|
||||
|
||||
LOG_DBG("IRQ callback triggered %p", ctx);
|
||||
k_work_submit(&ctx->irq_cb_work);
|
||||
k_work_submit_to_queue(&dwt_work_queue, &ctx->irq_cb_work);
|
||||
}
|
||||
|
||||
static enum ieee802154_hw_caps dwt_get_capabilities(const struct device *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue