On Wed, 2009-07-15 at 22:43 +0800, Johannes Berg wrote: > I should also note that you can now get rid of the stuff in iwm that > caches the keys etc -- key callbacks will only be called after > connecting. Thanks. Patches are queued. Will send out later. > As discussed with Samuel, there's a possibility to pass _all_ WEP keys > directly to connect(), if desirable, instead of adding them with the > key hooks later. I think this should be the right way to go. Currently we have no way to connect to WEP APs (both open and shared) with iwconfig. Because the driver needs to set the correct cipher before connect. But the key callbacks are only called after connected... IWAUTH is expected to be the place to set the cipher here, but unfortunately iwconfig doesn't use it. Passing the WEP keys to connect() can solve this issue. The driver can at least parsing the connect parameters to set the correct cipher before connect. Thanks, -yi -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html