Should the nl80211 interface be patched out of the kernel? Or patcheed 
to report encryption capabilities? This interface doesn't even report 
that wep is supported and thats plain wrong. I agree with you that this 
patch isn't the best way to solve this. I just asked myself: if I can 
call the nl80211 util function and it returns NULL if that's not 
implemented, shouldn't it be possible to do the same with the wext 
function? But I didn't check thoroughly. I think ubuntu schould just 
work out of the box. Many just aren't interested why. There are some 
threads around the internet where this problem is solved simply by not 
using network-manager. wicd is used instead because it just works. WPA 
is "officialy" supported by intel on windows und it obviously works on 
linux/ubuntu if network-manager isn't used so I have no doubt that WPA 
is supported on linux.

-- 
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