From fafaa38ae55cab486f2b929a131fe433ce180224 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 7 Oct 2012 12:50:15 +0000 Subject: move a few unmaintained packages from trunk to /packages SVN-Revision: 33634 --- package/madwifi/patches/436-injection_checks.patch | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 package/madwifi/patches/436-injection_checks.patch (limited to 'package/madwifi/patches/436-injection_checks.patch') diff --git a/package/madwifi/patches/436-injection_checks.patch b/package/madwifi/patches/436-injection_checks.patch deleted file mode 100644 index 2748731..0000000 --- a/package/madwifi/patches/436-injection_checks.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/ath/if_ath.c -+++ b/ath/if_ath.c -@@ -3199,7 +3199,13 @@ ath_tx_startraw(struct net_device *dev, - struct ieee80211_frame *wh; - - wh = (struct ieee80211_frame *)skb->data; -+ - try0 = ph->try0; -+ if (!try0) -+ try0 = 1; -+ else if (try0 > 11) -+ try0 = 11; -+ - rt = sc->sc_currates; - txrate = dot11_to_ratecode(sc, rt, ph->rate0); - power = ph->power > 63 ? 63 : ph->power; -@@ -3224,7 +3230,8 @@ ath_tx_startraw(struct net_device *dev, - rt = sc->sc_currates; - KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode)); - -- if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { -+ if (((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_DATA) || -+ IEEE80211_IS_MULTICAST(wh->i_addr1)) { - flags |= HAL_TXDESC_NOACK; /* no ack on broad/multicast */ - sc->sc_stats.ast_tx_noack++; - try0 = 1; -- cgit v1.1