diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:15 +0000 |
commit | a1c54778229546472933228d51e63907688ad3de (patch) | |
tree | d508d61558bd2b82d85156742556ad271e7a39ad /package/madwifi/patches/436-injection_checks.patch | |
parent | 27da9d1984e2c7eb45d00cb288b6063a8ff47170 (diff) | |
download | upstream-a1c54778229546472933228d51e63907688ad3de.tar.gz upstream-a1c54778229546472933228d51e63907688ad3de.tar.bz2 upstream-a1c54778229546472933228d51e63907688ad3de.zip |
madwifi: fix compile error on kernels without net_device api compatibility
SVN-Revision: 17219
Diffstat (limited to 'package/madwifi/patches/436-injection_checks.patch')
-rw-r--r-- | package/madwifi/patches/436-injection_checks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/436-injection_checks.patch b/package/madwifi/patches/436-injection_checks.patch index d071d37f95..7bdd82c0f9 100644 --- a/package/madwifi/patches/436-injection_checks.patch +++ b/package/madwifi/patches/436-injection_checks.patch @@ -1,6 +1,6 @@ --- a/ath/if_ath.c +++ b/ath/if_ath.c -@@ -3200,7 +3200,13 @@ ath_tx_startraw(struct net_device *dev, +@@ -3199,7 +3199,13 @@ ath_tx_startraw(struct net_device *dev, struct ieee80211_frame *wh; wh = (struct ieee80211_frame *)skb->data; @@ -14,7 +14,7 @@ rt = sc->sc_currates; txrate = dot11_to_ratecode(sc, rt, ph->rate0); power = ph->power > 63 ? 63 : ph->power; -@@ -3225,7 +3231,8 @@ ath_tx_startraw(struct net_device *dev, +@@ -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)); |