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)
commitda62b761769f60e5d476ad882c5ba40fb5d61664
treedc8b0ad98b0ed6449d5e2c4821da947c8fc5e662
parent427749861d74bc1a6f9e5dc523cf0ea2e42e8eed
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