I agree that this fix should not included. The bug is in ipw2200, it
works with nl80211 as I can connect just fine if I specify the network
manually, but it does not advertise the wpa capabilities. Maybe the NM
logic should be changed to use the interface that advertises better
capabilities or include a configuration option to force use of wext,
nl80211 or what ever there might be in future. But that discussion
propably should go to nm-mailing lists.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to