Tag: 4fb4e0bee12d66a175e13ed5d956e61398c34e4e

drivers/net/wireless/ti/wlcore/main.c: eliminate possible double power off

Author: Julia Lawall <Julia.Lawall@lip6.fr> The function wl12xx_set_power_on is only called twice, once in wl12xx_chip_wakeup and once in wl12xx_get_hw_info. On the failure of the call in wl12xx_chip_wakeup, the containing function just returns, but on the failure of the call in wl12xx_get_hw_info, the containing function calls wl1271_power_off. This does not seem necessary, because if wl12xx_set_power_on has set …

Continue reading