On Thu, 2009-07-16 at 11:07 +0800, Zhu Yi wrote: > > 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. We could also check the keys and pass the right cipher from cfg80211, in this case. Should be easy. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part