rfkill: Improve documentation language
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Mon, 22 Feb 2016 16:36:32 +0000 (11:36 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:13:09 +0000 (09:13 +0100)
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c

index 2a23479..8f6906e 100644 (file)
@@ -282,8 +282,8 @@ static void rfkill_set_block(struct rfkill *rfkill, bool blocked)
        spin_lock_irqsave(&rfkill->lock, flags);
        if (err) {
                /*
-                * Failed -- reset status to _prev, this may be different
-                * from what set set _PREV to earlier in this function
+                * Failed -- reset status to _PREV, which may be different
+                * from what we have set _PREV to earlier in this function
                 * if rfkill_set_sw_state was invoked.
                 */
                if (rfkill->state & RFKILL_BLOCK_SW_PREV)