1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 02:49:48 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6049 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-01-09 17:40:25 +00:00
parent 057e4cdd71
commit 36aa2b764c

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