HI! It seems nobody has tried my solution. It's not so easy to patch the source code. So here is a little recipe .
sudo apt-get install quilt libpcsclite-dev build-essential libssl-dev libdbus-1-dev # maybe you need to install also other packages
mkdir wpa ; cd wpa/ pool=http://ftp.ubuntu.com/ubuntu/pool/ wget $pool/main/w/wpasupplicant/wpasupplicant_0.6.4.orig.tar.gz wget $pool/main/w/wpasupplicant/wpasupplicant_0.6.4-2.diff.gz wget $pool/main/w/wpasupplicant/wpasupplicant_0.6.4-2.dsc dpkg-source -x wpasupplicant_0.6.4-2.dsc cd wpasupplicant-0.6.4/
patch ./src/rsn_supp/wpa.c <<EOF 987a988 > usleep(10); // pause needed - because sending is in progress? EOF
dpkg-buildpackage -us -uc -rfakeroot -d # failing on building the wpa_gui is okay
strip wpa_supplicant/wpa_supplicant
sudo mv /sbin/wpa_supplicant /sbin/wpa_supplicant.orig sudo cp wpa_supplicant/wpa_supplicant /sbin/ # reboot
HI! It seems nobody has tried my solution. It's not so easy to patch the source code. So here is a little recipe .
sudo apt-get install quilt libpcsclite-dev build-essential libssl-dev libdbus-1-dev
# maybe you need to install also other packages
mkdir wpa ; cd wpa/ ftp.ubuntu. com/ubuntu/ pool/ w/wpasupplicant /wpasupplicant_ 0.6.4.orig. tar.gz w/wpasupplicant /wpasupplicant_ 0.6.4-2. diff.gz w/wpasupplicant /wpasupplicant_ 0.6.4-2. dsc 0.6.4-2. dsc 0.6.4/
pool=http://
wget $pool/main/
wget $pool/main/
wget $pool/main/
dpkg-source -x wpasupplicant_
cd wpasupplicant-
patch ./src/rsn_ supp/wpa. c <<EOF
987a988
> usleep(10); // pause needed - because sending is in progress?
EOF
dpkg-buildpackage -us -uc -rfakeroot -d
# failing on building the wpa_gui is okay
strip wpa_supplicant/ wpa_supplicant
sudo mv /sbin/wpa_ supplicant /sbin/wpa_ supplicant. orig wpa_supplicant /sbin/
sudo cp wpa_supplicant/
# reboot