race condition in set key/send packets
Status: Beta
Brought to you by:
pgiri
looks similar to 1738644.
I am using ndiswrapper 1.53 on 2.6.28. With the same hardware using ndiswrapper 1.28 and 2.6.18, I did not have this problem. The mailing list pointed me at this workaround:
http://lists.shmoo.com/pipermail/hostap/2008-April/017564.html
The workaround mentioned there, as in 1738644 fixed my problem. I poked around the source a bit, but I didn't see anything that looked like a "send all unsent packets" or a "flush all packets" sort of function, or I would test doing that in somewhere like iw_set_encodeext() before changing the key.