SOLVED - WiFi AP - Please help

Firstly - many apologies - I am totally new to DietPi
I am trying to set up my Pi Zero W as a Wifi Access Point
I have followed the instructions in the following link http://misapuntesde.com/post.php?id=726
I have run iw list | grep ‘AP’ and readlink /sys/class/net/wlan0/device/driver to try to find the driver and the result seems to be brcmfmac
I have tried to put this driver into the "driver= " section of /etc/hostapd/hostapd.conf
Every time I run hostapd -d /etc/hostapd/hostapd.conf I get “Illegal Instruction”

Can someone tell what I am doing wrong please ?

Thanks in advance
Ben

I solved this - simple uninstall and install of hostapd did it. Must have been corrupted in some form