All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Colin Ian King <colin.king@canonical.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>,
	nbd@nbd.name, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
Date: Thu, 14 Dec 2017 18:20:19 +0200	[thread overview]
Message-ID: <87bmj1cmd8.fsf@purkki.adurom.net> (raw)
In-Reply-To: <68bc67c3-9c9a-e059-2a2a-1e8ccd5b92f5@canonical.com> (Colin Ian King's message of "Thu, 14 Dec 2017 15:42:43 +0000")

Colin Ian King <colin.king@canonical.com> writes:

> On 14/12/17 10:46, Lorenzo Bianconi wrote:
>> Fix typo in 5GHz power vs channel eeprom parsing
>> 
>> Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
>> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
>> ---
>>  drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c b/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
>> index 440b7e7d73a9..29dc52ef629d 100644
>> --- a/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
>> +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
>> @@ -524,7 +524,7 @@ mt76x2_get_power_info_5g(struct mt76x2_dev *dev, struct mt76x2_tx_power_info *t,
>>  
>>  	if (channel >= 192)
>>  		delta_idx = 4;
>> -	else if (channel >= 484)
>> +	else if (channel >= 184)
>>  		delta_idx = 3;
>>  	else if (channel < 44)
>>  		delta_idx = 3;
>> 
> any possibility of adding:
>
> Reported-by: Colin Ian King <colin.king@canonical.com>

Sure, I'll add that during commit.

-- 
Kalle Valo

  reply	other threads:[~2017-12-14 16:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1513248071.git.lorenzo.bianconi@redhat.com>
2017-12-14 10:46 ` [PATCH] mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g() Lorenzo Bianconi
2017-12-14 15:29   ` Felix Fietkau
2017-12-14 15:42   ` Colin Ian King
2017-12-14 16:20     ` Kalle Valo [this message]
2018-01-08 17:32       ` Kalle Valo
2018-01-08 17:30   ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bmj1cmd8.fsf@purkki.adurom.net \
    --to=kvalo@codeaurora.org \
    --cc=colin.king@canonical.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.