Skip to content

Commit

Permalink
mt76x2: fix parsing of EEPROM board type
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Sep 15, 2016
1 parent 60a15e9 commit 838d439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76x2_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mt76x2_eeprom_get_macaddr(struct mt76x2_dev *dev)
static void
mt76x2_eeprom_parse_hw_cap(struct mt76x2_dev *dev)
{
u16 val = MT_EE_NIC_CONF_0;
u16 val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0);

switch (FIELD_GET(MT_EE_NIC_CONF_0_BOARD_TYPE, val)) {
case BOARD_TYPE_5GHZ:
Expand Down

0 comments on commit 838d439

Please sign in to comment.