fixed for wlan interface. Bugs still prevalant.