wifi: update mt5931 driver to 2.04
authorhwg <hwg@rock-chips.com>
Tue, 8 Jan 2013 15:58:31 +0000 (23:58 +0800)
committerhwg <hwg@rock-chips.com>
Tue, 8 Jan 2013 15:58:31 +0000 (23:58 +0800)
drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c
drivers/net/wireless/mt5931/os/wifi_version.h

index 19c2374718f94a3c344e60f9200f6001264f9cf7..b367c80e2320a26df06539c60d36282e445cb344 100755 (executable)
@@ -1038,9 +1038,10 @@ kalDevRegWrite (
 
 retry:
     sdio_writel(prGlueInfo->rHifInfo.func, u4Value, u4Register, &ret);
-       if (ret && a < 5) {
+       if (ret && a < 10) {
                a++;
-               printk("gwl =-==============> sdio_writel retry!\n");
+               printk("gwl =-==============> sdio_writel retry %d!\n", a);
+               msleep(1);
                goto retry;
        }
 
index cc0b4d8b73a13992cacf059b9304e288935bcef8..0d587ce540fbc4e45913ccdc06e1613b3fcb46ef 100755 (executable)
@@ -7,7 +7,7 @@
 /*
  * Marvell MV8686 driver version.
  */
-#define MT5931_DRV_VERSION "2.03"
+#define MT5931_DRV_VERSION "2.04"
 
 #endif /* WIFI_VERSION_H */