Loading net/rfkill/core.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -282,8 +282,8 @@ static void rfkill_set_block(struct rfkill *rfkill, bool blocked) spin_lock_irqsave(&rfkill->lock, flags); spin_lock_irqsave(&rfkill->lock, flags); if (err) { if (err) { /* /* * Failed -- reset status to _prev, this may be different * Failed -- reset status to _PREV, which may be different * from what set set _PREV to earlier in this function * from what we have set _PREV to earlier in this function * if rfkill_set_sw_state was invoked. * if rfkill_set_sw_state was invoked. */ */ if (rfkill->state & RFKILL_BLOCK_SW_PREV) if (rfkill->state & RFKILL_BLOCK_SW_PREV) Loading Loading
net/rfkill/core.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -282,8 +282,8 @@ static void rfkill_set_block(struct rfkill *rfkill, bool blocked) spin_lock_irqsave(&rfkill->lock, flags); spin_lock_irqsave(&rfkill->lock, flags); if (err) { if (err) { /* /* * Failed -- reset status to _prev, this may be different * Failed -- reset status to _PREV, which may be different * from what set set _PREV to earlier in this function * from what we have set _PREV to earlier in this function * if rfkill_set_sw_state was invoked. * if rfkill_set_sw_state was invoked. */ */ if (rfkill->state & RFKILL_BLOCK_SW_PREV) if (rfkill->state & RFKILL_BLOCK_SW_PREV) Loading