mt76x0: correct type for eeprom gain value
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 7 Aug 2018 08:43:09 +0000 (10:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 9 Aug 2018 15:07:38 +0000 (18:07 +0300)
commit5dc5bf2899a505085492b1273d34d4a51c41e093
tree635b327144af689f0d82c676c78ac2ffe61106d0
parent27a8aea13053700ad2a08189024df7e341d1ee51
mt76x0: correct type for eeprom gain value

Change type to u8 to allow sanity check agaist 0xff;

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: e87b5039511a ("mt76x0: eeprom files")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c