remove unnecessary patch chunk
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 380-noderef_fix.patch
index e3a6b4690a671ffe3b40edaa08a0a8ac68f88866..8767e1c456920c1a00122c52e0a72d5cd2c920d3 100644 (file)
        ic->ic_bsschan = selbs->ni_chan;
        ic->ic_curchan = ic->ic_bsschan;
        ic->ic_curmode = ieee80211_chan2mode(ic->ic_curchan);
---- a/net80211/ieee80211_input.c
-+++ b/net80211/ieee80211_input.c
-@@ -3110,7 +3110,7 @@
-       u_int8_t qosinfo;
-       if (ni_or_null == NULL)
--              ni = vap->iv_bss;
-+              ni = ieee80211_ref_node(vap->iv_bss);
-       wh = (struct ieee80211_frame *) skb->data;
-       frm = (u_int8_t *)&wh[1];
+