This patch replace the pr_foo printout function to netdev_foo printout
function. Inside the xmit handling, the interface is already known.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
ieee802154_wake_queue(&local->hw);
rtnl_unlock();
kfree_skb(skb);
- pr_debug("transmission failed\n");
+ netdev_dbg(skb->dev, "transmission failed\n");
}
static netdev_tx_t
rc = mac802154_llsec_encrypt(&sdata->sec, skb);
if (rc) {
- pr_warn("encryption failed: %i\n", rc);
+ netdev_warn(dev, "encryption failed: %i\n", rc);
kfree_skb(skb);
return NETDEV_TX_OK;
}