fix typo
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Jan 2007 17:40:25 +0000 (17:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Jan 2007 17:40:25 +0000 (17:40 +0000)
SVN-Revision: 6049

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);