Browse Source

rfkill: Improve documentation language

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
João Paulo Rechi Vita 9 years ago
parent
commit
3ff707d668
1 changed files with 2 additions and 2 deletions
  1. 2 2
      net/rfkill/core.c

+ 2 - 2
net/rfkill/core.c

@@ -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
-		 * 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_set_sw_state was invoked.
 		 */
 		 */
 		if (rfkill->state & RFKILL_BLOCK_SW_PREV)
 		if (rfkill->state & RFKILL_BLOCK_SW_PREV)