I had a problem with normal wlan connections after setting the wlan0 interface to ad-hoc mode for the MobileHotspot project. Solved it by explicitly setting the wlan0 interface to managed mode on connection teardown. Try installing wireless-tools and then running following commands as root: Code: ifconfig wlan0 down iwconfig wlan0 mode managed iwconfig wlan0 key open As for reboots esp. with macs they may be related to a bug in the wifi driver in kernel, both the kernel-maemo and hotspot-kernel have patches to fix that bug.
ifconfig wlan0 down iwconfig wlan0 mode managed iwconfig wlan0 key open