Thanks I gave it a try still no luck.
root@Pineapple:~# ifconfig wlan1 up
ifconfig: SIOCSIFFLAGS: Connection timed out
root@Pineapple:~# ifconfig wlan1 down
root@Pineapple:~# ifconfig wlan1 up
ifconfig: SIOCSIFFLAGS: Connection timed out
root@Pineapple:~#
I guess it is a hardware problem. I will update forum to let you know how it goes.