Message ID | 1454946096-9752-2-git-send-email-jprvita@endlessm.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Johannes Berg |
Headers | show |
Hi João, On Tue, Feb 9, 2016 at 2:41 AM, João Paulo Rechi Vita <jprvita@gmail.com> wrote: > Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Looks right to me. Reviewed-by: Julian Calaby <julian.calaby@gmail.com> > --- > net/rfkill/core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/net/rfkill/core.c b/net/rfkill/core.c > index a805831..ffbc375 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) > -- > 2.5.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/rfkill/core.c b/net/rfkill/core.c index a805831..ffbc375 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)
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> --- net/rfkill/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)