X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/041ed57ae2e88b2b947103dbe978dbe5ceeacb34..51c76d8aa5224233370fa5de9cc1277f5a797a66:/package/madwifi/patches/396-napi_ff_fix.patch diff --git a/package/madwifi/patches/396-napi_ff_fix.patch b/package/madwifi/patches/396-napi_ff_fix.patch index 0b9acdfb7..f84c4b4d7 100644 --- a/package/madwifi/patches/396-napi_ff_fix.patch +++ b/package/madwifi/patches/396-napi_ff_fix.patch @@ -1,6 +1,6 @@ --- a/ath/if_ath.c +++ b/ath/if_ath.c -@@ -6725,10 +6725,10 @@ ath_rx_poll(struct net_device *dev, int +@@ -6734,10 +6734,10 @@ ath_rx_poll(struct net_device *dev, int #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) struct ath_softc *sc = container_of(napi, struct ath_softc, sc_napi); struct net_device *dev = sc->sc_dev; @@ -13,7 +13,7 @@ #endif struct ath_buf *bf; struct ieee80211com *ic = &sc->sc_ic; -@@ -6771,13 +6771,15 @@ process_rx_again: +@@ -6780,13 +6780,15 @@ process_rx_again: break; } @@ -33,7 +33,7 @@ skb = bf->bf_skb; if (skb == NULL) { -@@ -7061,8 +7063,8 @@ rx_next: +@@ -7074,8 +7076,8 @@ rx_next: if (sc->sc_isr & HAL_INT_RX) { u_int64_t hw_tsf = ath_hal_gettsf64(ah); sc->sc_isr &= ~HAL_INT_RX; @@ -45,7 +45,7 @@ local_irq_restore(flags); --- a/net80211/ieee80211_input.c +++ b/net80211/ieee80211_input.c -@@ -1203,6 +1203,7 @@ ieee80211_deliver_data(struct ieee80211_ +@@ -1206,6 +1206,7 @@ ieee80211_deliver_data(struct ieee80211_ } }