Hi, > Indeed. But at least user has a way to let mac80211 forget the previous > setting (ifconfig wlan0 down and up). Otherwise, user has to reload the > modules to achieve this. Yeah. Can you amend the patch to also clear the IEEE80211_STA_PRIVACY_INVOKED flag? > > Maybe this should also be done when removing keys? > > I agree there are more places we need to clear the setting. Putting it > to ieee80211_stop() is a good start. Should we have a "reset" like > ioctl? So the second config tool can call it to let mac80211 forget all > the previous setting. No. We're not adding any ioctls, we now have to live with the wext crap. What I'm going to do in nl80211 is put *all* the required setting into an "association" object. Then all settings can be deleted together when the association object is removed which will probably be done by userland tools automatigally when tell them to associate to something else, i.e. add a new association (needs to remove the old because there can be only one). johannes
Attachment:
signature.asc
Description: This is a digitally signed message part