2012-10-20 06:00:02 +00:00
|
|
|
From efbaecda2210e26cf4d0abf6e96f16550b8b2e90 Mon Sep 17 00:00:00 2001
|
2011-11-20 00:01:55 +00:00
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Thu, 21 Jul 2011 21:05:33 +0200
|
2012-10-20 06:00:02 +00:00
|
|
|
Subject: [PATCH 092/286] net-wireless-warn-nort.patch
|
2011-11-20 00:01:55 +00:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
|
|
net/mac80211/rx.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2012-05-12 14:20:55 +00:00
|
|
|
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
|
2012-07-22 22:17:50 +00:00
|
|
|
index cda4875..6791b22 100644
|
2012-05-12 14:20:55 +00:00
|
|
|
--- a/net/mac80211/rx.c
|
|
|
|
+++ b/net/mac80211/rx.c
|
2012-07-22 22:17:50 +00:00
|
|
|
@@ -2961,7 +2961,7 @@ void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb)
|
2011-11-20 00:01:55 +00:00
|
|
|
struct ieee80211_supported_band *sband;
|
|
|
|
struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
|
|
|
|
|
|
|
|
- WARN_ON_ONCE(softirq_count() == 0);
|
|
|
|
+ WARN_ON_ONCE_NONRT(softirq_count() == 0);
|
|
|
|
|
|
|
|
if (WARN_ON(status->band < 0 ||
|
|
|
|
status->band >= IEEE80211_NUM_BANDS))
|