Can't use WPA with ipw2200
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
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/
+++ b/src/wifi/
@@ -61,12 +61,14 @@
g_return_
g_return_
- 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;
}
Status changed to 'Confirmed' because the bug affects multiple users.