From ed02b762dba89d87f09242011ba16b9b2f372766 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
Date: Tue, 29 Nov 2005 01:35:32 +0000
Subject: [PATCH] add ath_rate_sample, fix module loading on netgear wgt634u

SVN-Revision: 2561
---
 openwrt/target/linux/package/madwifi/Makefile              | 1 +
 openwrt/target/linux/package/madwifi/files/madwifi.modules | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile
index 81abf892cf8..8811d28f86a 100644
--- a/openwrt/target/linux/package/madwifi/Makefile
+++ b/openwrt/target/linux/package/madwifi/Makefile
@@ -55,6 +55,7 @@ $(IPKG_KMOD_MADWIFI):
 	cp -fpR $(PKG_BUILD_DIR)/net80211/wlan*.$(LINUX_KMOD_SUFFIX) \
 		$(PKG_BUILD_DIR)/ath_hal/ath_hal.$(LINUX_KMOD_SUFFIX) \
 		$(PKG_BUILD_DIR)/ath/ath_pci.$(LINUX_KMOD_SUFFIX) \
+		$(PKG_BUILD_DIR)/ath_rate/sample/ath_rate_sample.$(LINUX_KMOD_SUFFIX) \
 		$(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)/
 	$(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR)
 
diff --git a/openwrt/target/linux/package/madwifi/files/madwifi.modules b/openwrt/target/linux/package/madwifi/files/madwifi.modules
index d5032304059..eb8ca2e8530 100644
--- a/openwrt/target/linux/package/madwifi/files/madwifi.modules
+++ b/openwrt/target/linux/package/madwifi/files/madwifi.modules
@@ -1,6 +1,6 @@
 wlan
 ath_hal
-ath_rate_onoe
+ath_rate_sample
 ath_pci
 wlan_acl
 wlan_ccmp