This is a script to compile, patch and pack hostapd deamon from sources. It can be used as a drop-in replacement for Debian and Ubuntu based distributions.
Add/review patches in patch/
sudo apt-get -y install git
cd ~
git clone https://github.com/igorpecovnik/hostapd
cd hostapd
./go.sh