mac80211: fix a WARN_ON in client mode
authorFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jan 2010 19:28:11 +0000 (19:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jan 2010 19:28:11 +0000 (19:28 +0000)
SVN-Revision: 19315

package/mac80211/patches/610-fix_warn_on.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/610-fix_warn_on.patch b/package/mac80211/patches/610-fix_warn_on.patch
new file mode 100644 (file)
index 0000000..8cc0a7b
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/net/mac80211/work.c
++++ b/net/mac80211/work.c
+@@ -1022,8 +1022,6 @@ ieee80211_rx_result ieee80211_work_rx_mg
+               case IEEE80211_STYPE_PROBE_RESP:
+               case IEEE80211_STYPE_ASSOC_RESP:
+               case IEEE80211_STYPE_REASSOC_RESP:
+-              case IEEE80211_STYPE_DEAUTH:
+-              case IEEE80211_STYPE_DISASSOC:
+                       skb_queue_tail(&local->work_skb_queue, skb);
+                       ieee80211_queue_work(&local->hw, &local->work_work);
+                       return RX_QUEUED;