As far as I'm aware this is a design decision that was made on purpose;
most drivers impletement nl80211 and this is the preferred interface for
all future implementations. If you believe this should be switched, then
it ought to be discussed on the upstream NetworkManager mailing list
(http://mail.gnome.org/mailman/listinfo/networkmanager-list) rather than
done separately in Ubuntu. I'll take a strong stance *against* including
this patch in Ubuntu directly (and upstream) for the reasons expressed
above.

It's truly sad that WPA fails with ipw2200. It was working for a while
(although it was never formally specified as *officially supported*),
and now fails to work in all cases. I think this is really something
that ought to be fixed at the kernel level rather than crippling
NetworkManager to use WEXT for all devices because of this bug. It's
something that will keep crawling back up for the forseable future
though, some drivers will have their nl80211 implementation fail for
some reason while the older WEXT interface will work.

** Changed in: network-manager (Ubuntu)
       Status: Confirmed => Incomplete

** Changed in: network-manager (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/971628

Title:
  Can't use WPA with ipw2200

Status in “network-manager” package in Ubuntu:
  Incomplete

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/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;
   }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/971628/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to