Skip to content

Commit

Permalink
mt76x2: fix size of the rssi offset eeprom field
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Mar 17, 2017
1 parent 712b8e8 commit e5c58f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76x2_eeprom.c
Expand Up @@ -305,7 +305,7 @@ mt76x2_set_rssi_offset(struct mt76x2_dev *dev, int chain, u8 val)
return;
}

dest[chain] = mt76x2_sign_extend(val, 6);
dest[chain] = mt76x2_sign_extend_optional(val, 7);
}

static enum mt76x2_cal_channel_group
Expand Down

0 comments on commit e5c58f6

Please sign in to comment.