summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-09 17:40:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-09 17:40:25 +0000
commit084ed38042071bf27c25ae5360c98ca33dcfe072 (patch)
treead12a50b279b546a23a63ef4a0fc2bf6fa6c7360 /package/madwifi
parenta07ed4abe1d20a72e9e1e729b8308785603b2bad (diff)
downloadmtk-20170518-084ed38042071bf27c25ae5360c98ca33dcfe072.zip
mtk-20170518-084ed38042071bf27c25ae5360c98ca33dcfe072.tar.gz
mtk-20170518-084ed38042071bf27c25ae5360c98ca33dcfe072.tar.bz2
fix typo
SVN-Revision: 6049
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/109-soc_platform.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/109-soc_platform.patch b/package/madwifi/patches/109-soc_platform.patch
index 0fafd38..4ff37b6 100644
--- a/package/madwifi/patches/109-soc_platform.patch
+++ b/package/madwifi/patches/109-soc_platform.patch
@@ -184,7 +184,7 @@ diff -ur madwifi.old/ath/if_ath_ahb.c madwifi.dev/ath/if_ath_ahb.c
#endif
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
-+ platform_driver_register(&ahb_wmac_driver);
++ platform_driver_unregister(&ahb_wmac_driver);
+#else
exit_ath_wmac(AR531X_WLAN0_NUM);
exit_ath_wmac(AR531X_WLAN1_NUM);