From: Grazvydas Ignotas Date: Thu, 11 Nov 2010 17:57:01 +0000 (+0200) Subject: power down on exit so we can insmod again X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3277c91bcbbbad1f26df04dc21edf722f63736ac;p=pandora-wifi.git power down on exit so we can insmod again --- diff --git a/sta_dk/pform/linux/src/esta_drv.c b/sta_dk/pform/linux/src/esta_drv.c index e414542..2066302 100644 --- a/sta_dk/pform/linux/src/esta_drv.c +++ b/sta_dk/pform/linux/src/esta_drv.c @@ -1572,6 +1572,7 @@ static void __exit tiwlan_module_cleanup(void) } remove_proc_entry("mem", NULL); printk(KERN_INFO "TI WLAN: driver unloaded\n"); + gpio_set_value(PANDORA_WIFI_GPIO, 0); msleep(100); omap_mmc_fake_detect_mmc3(0); }