tail -n 400 /var/log/syslog
similar like this:
Sep
27 14:55:33 Raspi kernel: [ 4916.133773] ieee80211 phy0:
rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry
14 in queue 2
Sep 27 14:55:33 Raspi kernel: [ 4916.432124] ieee80211 phy0: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
Sep 27 14:55:37 Raspi kernel: [ 4920.459732] ieee80211 phy0: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
Sep 27 14:55:33 Raspi kernel: [ 4916.432124] ieee80211 phy0: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
Sep 27 14:55:37 Raspi kernel: [ 4920.459732] ieee80211 phy0: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
The log file was full of them. Searching in Google, most hints focused the power management of USB WIFI adapters. I tried differed approaches, but in the end the successful hint was an additionally entry in the network configuration. Open this file:
nano /etc/network/interfaces
and add this line:
wireless-power off
Mostly this command was then recommended but in my case, with Raspbian Wheezy, it was not successful:
iwconfig wlan0 power off
The following command made me smile again:
/usr/sbin/ifplugd wlan0 --kill
Since this, timeouts on hostapd are history and the AP is running stable.