Public bug reported: If some driver implements wext interface and nl80211 interface the latter is preferred. With the ipw2200 driver this implementation doesn't yield any encryption capabilites but the wext interface is never consulted. If the order of the function calls is reversed in wifi- utils.c the problem is solved for me and I dont have a regression with ath5k.
--- a/src/wifi/wifi-utils.c 2012-03-01 06:26:37.000000000 +0100 +++ b/src/wifi/wifi-utils.c 2012-04-02 16:01:53.239030963 +0200 @@ -61,12 +61,14 @@ g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (ifindex > 0, NULL); - ret = wifi_nl80211_init (iface, ifindex); + ret = NULL; + + #if HAVE_WEXT + ret = wifi_wext_init (iface, ifindex, check_scan); + #endif if (ret == NULL) { -#if HAVE_WEXT - ret = wifi_wext_init (iface, ifindex, check_scan); -#endif - } + ret = wifi_nl80211_init (iface, ifindex); + } return ret; } ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/971628 Title: Can't use WPA with ipw2200 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/971628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs