summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2016-02-22 11:36:32 -0500
committerJohannes Berg <johannes.berg@intel.com>2016-02-24 09:13:09 +0100
commit3ff707d66881d308ef71a0939aa7a92ae1290702 (patch)
treed4b5276f1a99f52f12b78ee4e6fc8dd5f0997e29 /net/rfkill
parentfb2e6b7b7b02ab35a9d5355a69097a6f60c69d38 (diff)
downloadlinux-3ff707d66881d308ef71a0939aa7a92ae1290702.tar.gz
linux-3ff707d66881d308ef71a0939aa7a92ae1290702.tar.bz2
linux-3ff707d66881d308ef71a0939aa7a92ae1290702.zip
rfkill: Improve documentation language
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill')
-rw-r--r--net/rfkill/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index 2a23479a49f2..8f6906eb08f3 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -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)