summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlegacy/commands.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2013-01-26 22:19:35 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-01-30 15:07:07 -0500
commit00bcd0d699c7b3c294c1b276709e069b2903bc32 (patch)
treed0bdd5e647de7a7e8221d5dd5daa8703fdb63580 /drivers/net/wireless/iwlegacy/commands.h
parent8f1ca2683225afa21b827ff620a6225c390771a9 (diff)
iwlegacy: fix antenna bitmask
This patch is based on "iwlwifi: fix antenna bitmask". (362b0563b28506d53) Like the new iwlagn devices, the old 4965N device only supports a maximum of three antennas. Hence only three bits are used, the fourth bit is likely the A-MPDU indicator. Cc: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/commands.h')
-rw-r--r--drivers/net/wireless/iwlegacy/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/commands.h b/drivers/net/wireless/iwlegacy/commands.h
index 25dd7d28d022..829d3b9aaa17 100644
--- a/drivers/net/wireless/iwlegacy/commands.h
+++ b/drivers/net/wireless/iwlegacy/commands.h
@@ -1134,7 +1134,7 @@ struct il_wep_cmd {
#define RX_RES_PHY_FLAGS_MOD_CCK_MSK cpu_to_le16(1 << 1)
#define RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK cpu_to_le16(1 << 2)
#define RX_RES_PHY_FLAGS_NARROW_BAND_MSK cpu_to_le16(1 << 3)
-#define RX_RES_PHY_FLAGS_ANTENNA_MSK 0xf0
+#define RX_RES_PHY_FLAGS_ANTENNA_MSK 0x70
#define RX_RES_PHY_FLAGS_ANTENNA_POS 4
#define RX_RES_STATUS_SEC_TYPE_MSK (0x7 << 8)