Nice i uploaded the sketch to galileo. On the sd card i also have the linux sd image and iwlwifi-6000g2b-ucode-18.168.6.1.
I was able to configure it exactly like in this blog Intel Galileo Meets Wireless - Malinov Family Web Presence
sending discover...
sending discover...
sending discover...
No lease, failing...