X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ad8cd27cac7193d938a42d292b1f1f790f35f74b..271fe72913eccc9a113c3fc3320cb5144be4871c:/package/madwifi/patches/310-noise_get.patch diff --git a/package/madwifi/patches/310-noise_get.patch b/package/madwifi/patches/310-noise_get.patch index 2dcfe3509..73de2b854 100644 --- a/package/madwifi/patches/310-noise_get.patch +++ b/package/madwifi/patches/310-noise_get.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2756-20071018/ath/if_ath.c +Index: madwifi-ng-r2799-20071030/ath/if_ath.c =================================================================== ---- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-27 19:20:14.495461544 +0200 -+++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-27 19:22:02.865637202 +0200 +--- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:52.073588984 +0100 ++++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:52.417608587 +0100 @@ -1417,7 +1417,6 @@ * Wireshark and Kismet. */ @@ -30,7 +30,7 @@ Index: madwifi-ng-r2756-20071018/ath/if_ath.c struct ath_softc *sc = dev->priv; (void) ath_chan_set(sc, ic->ic_curchan); -+ ic->ic_channoise = ath_hal_get_channel_noise(ah, &(sc->sc_curchan)); ++ ic->ic_channoise = ath_hal_get_channel_noise(sc->sc_ah, &(sc->sc_curchan)); /* * If we are returning to our bss channel then mark state * so the next recv'd beacon's TSF will be used to sync the