summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0fafd3866..4ff37b663 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);