Revert "madwifi: fix compilation against Linux 3.8" - it was premature
This reverts commit 37054015dda3e65658158a7ca73262c85e8eb002. git-svn-id: svn://svn.openwrt.org/openwrt/packages@36012 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
--- a/ath/if_ath.c
|
||||
+++ b/ath/if_ath.c
|
||||
@@ -3199,7 +3199,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;
|
||||
@@ -3224,7 +3230,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));
|
||||
|
||||
|
Reference in New Issue
Block a user