View | Details | Raw Unified | Return to bug 625403
Collapse All | Expand All

(-)scripts/ifup-wireless (-4 / +16 lines)
Lines 714-720 case $ACTION in Link Here
714
            rt61|rt73)
714
            rt61|rt73)
715
                WPA_DRIVER=ralink
715
                WPA_DRIVER=ralink
716
                ;;
716
                ;;
717
            ipw2200|ipw2100|ipw3945|hostap_*)
717
            ipw2200|ipw2100)
718
		WPA_DRIVER=wext
719
		;;
720
	    ipw3945|hostap_*)
718
                WPA_DRIVER=nl80211
721
                WPA_DRIVER=nl80211
719
                ;;
722
                ;;
720
            ndiswrapper|*.sys)
723
            ndiswrapper|*.sys)
Lines 747-752 case $ACTION in Link Here
747
            ar9170*)
750
            ar9170*)
748
                WPA_DRIVER=nl80211
751
                WPA_DRIVER=nl80211
749
                ;;
752
                ;;
753
	    rtl818*)
754
		WPA_DRIVER=nl80211
755
		;;
756
	    rt2860*|rt2870*|r8187se|r8192*|vt665*)
757
		WPA_DRIVER=wext
758
		;;
759
	    r8712*)
760
		WPA_DRIVER=wext
761
		;;
750
            *)
762
            *)
751
                WPA_DRIVER=unsupported
763
                WPA_DRIVER=unsupported
752
                PREFER_WPA_SUPPLICANT=no
764
                PREFER_WPA_SUPPLICANT=no
Lines 757-766 case $ACTION in Link Here
757
            if [ "$WPA_DRIVER" = "unsupported" ]; then
769
            if [ "$WPA_DRIVER" = "unsupported" ]; then
758
                message "`printf "    %-9s warning: WPA configured but may be unsupported" $INTERFACE`"
770
                message "`printf "    %-9s warning: WPA configured but may be unsupported" $INTERFACE`"
759
                message "`printf "    %-9s warning: by this device" $INTERFACE`"
771
                message "`printf "    %-9s warning: by this device" $INTERFACE`"
760
                info_mesg "using WPA driver 'nl80211' for interface $INTERFACE"
772
                info_mesg "using WPA driver 'wext' for interface $INTERFACE with driver $DRIVER"
761
                info_mesg "when you notice problems with this new driver, set " \
773
                info_mesg "when you notice problems with this new driver, set " \
762
                          "WIRELESS_WPA_DRIVER='wext' and file a bug report"
774
                          "WIRELESS_WPA_DRIVER='nl80211' and file a bug report"
763
                WPA_DRIVER=nl80211
775
                WPA_DRIVER=wext
764
            fi
776
            fi
765
            start_wpa_supplicant
777
            start_wpa_supplicant
766
        elif [ "$PREFER_WPA_SUPPLICANT" = "yes" ]; then
778
        elif [ "$PREFER_WPA_SUPPLICANT" = "yes" ]; then

Return to bug 625403