From 72f408e9f2e1016b92db80db5ddd9ef926b2955a Mon Sep 17 00:00:00 2001 From: hwg Date: Tue, 8 Jan 2013 23:58:31 +0800 Subject: [PATCH] wifi: update mt5931 driver to 2.04 --- drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c | 5 +++-- drivers/net/wireless/mt5931/os/wifi_version.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c b/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c index 19c2374718f9..b367c80e2320 100755 --- a/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c +++ b/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c @@ -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; } diff --git a/drivers/net/wireless/mt5931/os/wifi_version.h b/drivers/net/wireless/mt5931/os/wifi_version.h index cc0b4d8b73a1..0d587ce540fb 100755 --- a/drivers/net/wireless/mt5931/os/wifi_version.h +++ b/drivers/net/wireless/mt5931/os/wifi_version.h @@ -7,7 +7,7 @@ /* * Marvell MV8686 driver version. */ -#define MT5931_DRV_VERSION "2.03" +#define MT5931_DRV_VERSION "2.04" #endif /* WIFI_VERSION_H */ -- 2.34.1