ssb-sprom: Fix typo.
authorMichael Buesch <mb@bu3sch.de>
Tue, 17 Jun 2008 13:59:25 +0000 (15:59 +0200)
committerMichael Buesch <mb@bu3sch.de>
Tue, 17 Jun 2008 13:59:25 +0000 (15:59 +0200)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
ssb_sprom/ssb_sprom.c

index a9080a20482556e4284a36b89345d907814af0eb..ee56d38ed9febfedf3b31129a0fada51b9cc258c 100644 (file)
@@ -574,7 +574,7 @@ static void display_value(const uint8_t *sprom,
        case VALUE_ANTGA:
                if (sprom_rev != 4) {
                        desc = "A PHY antenna gain";
-                       offset = SPROM_ANTENNA_GAIN + 1;
+                       offset = SPROM_ANTENNA_GAIN;
                } else {
                        desc = "Antenna 1 Gain";
                        offset = SPROM4_ANTENNA_GAIN;