summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2022-03-06 01:12:52 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-06 14:05:31 +0300
commitf9834dbdd322f144f7b51f2fe8017fc6b870b3ec (patch)
treec939dc764ea1befe326e43a2832b34e7655e9e1f /net/wireless
parentafb6d39f329248598b044a87bad382e938c5ddda (diff)
downloadlinux-f9834dbdd322f144f7b51f2fe8017fc6b870b3ec.tar.xz
wireless: Use netif_rx().
Since commit baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") the function netif_rx() can be used in preemptible/thread context as well as in interrupt context. Use netif_rx(). Cc: Johannes Berg <johannes@sipsolutions.net> Cc: linux-wireless@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index e02f1702806e..63b37f421e10 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -2153,7 +2153,7 @@ void cfg80211_send_layer2_update(struct net_device *dev, const u8 *addr)
skb->dev = dev;
skb->protocol = eth_type_trans(skb, dev);
memset(skb->cb, 0, sizeof(skb->cb));
- netif_rx_ni(skb);
+ netif_rx(skb);
}
EXPORT_SYMBOL(cfg80211_send_layer2_update);