rfkill: Improve documentation language
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
fb2e6b7b7b
commit
3ff707d668
@ -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…
Reference in New Issue
Block a user