fix typo
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Jan 2007 17:40:25 +0000 (17:40 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Jan 2007 17:40:25 +0000 (17:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6049 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/patches/109-soc_platform.patch

index 0fafd38668a498f8b4ae71b1259de07fdad9459d..4ff37b663b837f96a6a7d088d7cb0fe100da4608 100644 (file)
@@ -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);