]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: fix rf_antenna rx argument for AP
authorNishant Sarmukadam <nishants@marvell.com>
Thu, 17 Feb 2011 22:45:16 +0000 (14:45 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Feb 2011 21:25:25 +0000 (16:25 -0500)
commit731fe5e06eeb10f42475418a3559eb7b156f8013
treedc8b0ad98b0ed6449d5e2c4821da947c8fc5e662
parente6d8f66e5137852e4c0c23c4661fe29f2f36816f
mwl8k: fix rf_antenna rx argument for AP

When configuring rx antennas using CMD_RF_ANTENNA, the argument input is
the number of antennas to be enabled. For AP, we support 3 rx antennas
and hence set the field to 3. For tx antennas, value is a bitmap, so 0x7
enables all three.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Pradeep Nemavat <pnemavat@marvell.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c