• E
    wl12xx: avoid premature elp entrance · a665d6e2
    Eliad Peller 提交于
    The elp_work is being enqueued on wl1271_ps_elp_sleep, but doesn't get
    cancelled on wl1271_ps_elp_wakeup. This might cause immediate entrance
    to elp when the wl->mutex is being released, rather than using the delayed
    enqueueing optimization.
    
    Cancel elp_work on wakeup request, and add a new WL1271_FLAG_ELP_REQUESTED
    flag to further synchronize the elp actions.
    
    [Fixed a couple of typos in some comments -- Luca]
    Signed-off-by: NEliad Peller <eliad@wizery.com>
    Signed-off-by: NLuciano Coelho <coelho@ti.com>
    a665d6e2
wl12xx.h 14.6 KB