hostapd version in Ubuntu 14.04,Linux mint 17 is buggy and doesn't work properly.