X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c177eb0d43f691697c6835a7cf098615c5101a64..071f766b1ddbdd19a8c97ed2773e892c039a35d1:/package/madwifi/patches/400-new_hal.patch diff --git a/package/madwifi/patches/400-new_hal.patch b/package/madwifi/patches/400-new_hal.patch index 3989b0fb4..12a59687b 100644 --- a/package/madwifi/patches/400-new_hal.patch +++ b/package/madwifi/patches/400-new_hal.patch @@ -5,7 +5,7 @@ sc->sc_ah = ah; + /* WAR for AR7100 PCI bug */ -+#ifdef CONFIG_ATHEROS_AR71XX ++#if defined(CONFIG_ATHEROS_AR71XX) || defined(CONFIG_ATH79) + if ((ar_device(sc->devid) >= 5210) && (ar_device(sc->devid) < 5416)) { + ath_hal_setcapability(ah, HAL_CAP_DMABURST_RX, 0, HAL_DMABURST_4B, NULL); + ath_hal_setcapability(ah, HAL_CAP_DMABURST_TX, 0, HAL_DMABURST_4B, NULL);