But it seems you are using lan interface also from your post.
Normally when setting up wlan, one gets the message to disable second interface to avoid problems.Code:iface eth0 inet dhcp
Perhaps you can try that also..
I don't know what the prob is with wlan recognition...