[Galaxy S II Q&A, Help & Troubleshooting] balasubk:
Suddenly after taking my phone out on a rainy day, my wifi stopped working. I am sure water never went it. I have tried multiple things to make it work like factory reset, changing the ROM to jelly bean and currently running the kernel 3.0.31-siyah-s2-v5.0, model GT-I9100 android version 4.1.2

Kindly Help.I am seeing the dmesg terminal logs as attached and snippet below.

<4>[ 104.060063] ## wifi_probe

<4>[ 104.060090] wifi_set_power = 1

<6>[ 104.060111] ------------------------------------------------

<6>[ 104.060145] ------------------------------------------------

<6>[ 104.060188] brcm_wlan_power Enter: power on

<6>[ 104.060215] gpio_table = [2]

<7>[ 104.060442] WLAN: GPIO_WLAN_EN = 1

<6>[ 104.094096] mif: link_pm_irq_handler: gpio [HWK] get [0]

<6>[ 104.120714] mif: link_pm_irq_handler: gpio [HWK] get [1]

<6>[ 104.170090] mif: usb_port_resume: 1283, 4

<6>[ 104.249999] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)

<4>[ 104.265090] wifi_set_carddetect = 1

<6>[ 104.265114] gpio_table = [6]

<6>[ 104.265343] Test logs pdev : c0ccd110 s3c_device_hsmmc3 c0ccd110

<6>[ 104.265378] Test logs notify_func = hsmmc3_notify_func: c083e75c

<6>[ 104.265416] mmc2: card inserted.

<6>[ 104.495446] mmc2: cmd 52 command timeout error

<6>[ 104.495936] mmc2: cmd 52 command timeout error

<6>[ 104.499846] mmc2: cmd 8 command timeout error

<4>[ 104.511333] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

<4>[ 104.513886] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)

<6>[ 104.573970] mmc2: new high speed SDIO card at address 0001

<4>[ 104.785592] alloc static buf at e3a00000!

<4>[ 104.786022] dhdsdio_probe : no mutex held. set lock

<6>[ 105.007466] set_gps_uart_op: off

<6>[ 105.433663] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)

<6>[ 106.011099] mif: link_pm_irq_handler: gpio [HWK] get [0]

<6>[ 106.040827] mif: link_pm_irq_handler: gpio [HWK] get [1]

<6>[ 106.090112] mif: usb_port_resume: 1283, 4

<3>[ 106.158197] binder: release proc 13734, transaction 52072, not freed

<3>[ 106.158236] binder: release proc 13734, transaction 52103, not freed

<3>[ 106.296134] mmc2: cmd 53 data timeout error

<4>[ 106.296964] bcmsdh_sdmmc: Failed to Read word, Err: 0xffffff92F1 signature read

@0x18000000=0xffffffff

<3>[ 107.808869] mmc2: cmd 53 data timeout error

<4>[ 107.809040] bcmsdh_sdmmc: Failed to Read word, Err: 0xffffff92dhdsdio_probe_attach: si_attach

failed!

<4>[ 107.809193] dhdsdio_probe: dhdsdio_probe_attach failed

<4>[ 107.809284] dhdsdio_probe : the lock is released.

<4>[ 107.816772] dhd_module_init: sdio_register_driver fail

<4>[ 107.816919] bcmsdh_sdmmc: bcmsdh_sdmmc_remove Enter

<4>[ 107.824497] ## wifi_remove

<4>[ 107.824549] wifi_set_power = 0

<6>[ 107.824599] ------------------------------------------------

<6>[ 107.824676] ------------------------------------------------

<6>[ 107.824761] brcm_wlan_power Enter: power off

<6>[ 107.824828] gpio_table = [2]

<7>[ 107.824887] WLAN: GPIO_WLAN_EN = 0

<4>[ 107.925157] wifi_set_carddetect = 0

<6>[ 107.925225] gpio_table = [6]

<6>[ 107.925503] Test logs pdev : c0ccd110 s3c_device_hsmmc3 c0ccd110

<6>[ 107.925589] Test logs notify_func = hsmmc3_notify_func: c083e75c

<6>[ 107.925678] mmc2: card inserted.

<6>[ 107.965872] mif: link_pm_irq_handler: gpio [HWK] get [0]

<6>[ 107.995841] mif: link_pm_irq_handler: gpio [HWK] get [1]

<6>[ 108.045163] mif: usb_port_resume: 1283, 4

<6>[ 108.125196] mmc2: cmd 7 command timeout error

<6>[ 108.125256] mmc2: cmd 7 command timeout error

<6>[ 108.125307] mmc2: cmd 7 command timeout error

<6>[ 108.125356] mmc2: cmd 7 command timeout error

<6>[ 108.136243] mmc2: card 0001 removed

<6>[ 108.170596] mmc2: cmd 52 command timeout error

<6>[ 108.171186] mmc2: cmd 52 command timeout error

<6>[ 108.174766] mmc2: cmd 8 command timeout error

<6>[ 108.175114] mmc2: cmd 5 command timeout error

<6>[ 108.175443] mmc2: cmd 5 command timeout error

<6>[ 108.175773] mmc2: cmd 5 command timeout error

<6>[ 108.176101] mmc2: cmd 5 command timeout error

<6>[ 108.176500] mmc2: cmd 55 command timeout error

<6>[ 1