summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-08-11 14:42:07 +0000
committerPeter Volkov <pva@gentoo.org>2010-08-11 14:42:07 +0000
commit6e58196e9db5b8ca7e4d3c6f728e5d47101d06d9 (patch)
tree69c0e4fbd2facec5c4ccd4f96b8f9946bbdb8b61 /net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
parentsys-kernel/gentoo-sources: bump to 2.6.27.50 (diff)
downloadpva-6e58196e9db5b8ca7e4d3c6f728e5d47101d06d9.tar.gz
pva-6e58196e9db5b8ca7e4d3c6f728e5d47101d06d9.tar.bz2
pva-6e58196e9db5b8ca7e4d3c6f728e5d47101d06d9.zip
net-wireless/madwifi-ng{,-tools}: moved to the tree.
svn path=/; revision=446
Diffstat (limited to 'net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch')
-rw-r--r--net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch b/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
deleted file mode 100644
index 1999184..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-=== modified file 'ath/if_ath.c'
---- ath/if_ath.c 2009-06-03 07:46:17 +0000
-+++ ath/if_ath.c 2009-06-03 07:53:24 +0000
-@@ -2359,6 +2359,7 @@
- ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb)
- {
- struct ath_softc *sc = netdev_priv(dev);
-+ struct ieee80211com *ic = &sc->sc_ic;
- struct ath_hal *ah = sc->sc_ah;
- struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) (skb->cb + sizeof(struct ieee80211_cb));
- const HAL_RATE_TABLE *rt;
-@@ -2375,7 +2376,8 @@
- struct ieee80211_frame *wh;
-
- wh = (struct ieee80211_frame *) skb->data;
-- try0 = ph->try0;
-+ //try0 = ph->try0;
-+ try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
- rt = sc->sc_currates;
- txrate = dot11_to_ratecode(sc, rt, ph->rate0);
- power = ph->power > 60 ? 60 : ph->power;
-@@ -2404,7 +2406,8 @@
- KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
-
-
-- if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
-+ if (IEEE80211_IS_MULTICAST(wh->i_addr1) || ((ic->ic_opmode ==
-+ IEEE80211_M_MONITOR) && (skb->data[1]&3) != 0x01) ) {
- flags |= HAL_TXDESC_NOACK; /* no ack on broad/multicast */
- sc->sc_stats.ast_tx_noack++;
- try0 = 1;
-