b43: Only select allowed TX and RX antennas
commit9db1f6d725921c413cc344beda5e7e7d011b02e7
authorMichael Buesch <mb@bu3sch.de>
Sat, 22 Dec 2007 20:54:20 +0000 (22 21:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:14 +0000 (28 15:09 -0800)
treed3da80ab61fce4074c18f88d31c75e900afb7c22
parente861b98d5e1be769ca6483b6df97149b956ea834
b43: Only select allowed TX and RX antennas

This fixes antenna selection in b43. It adds a sanity check
for the antenna numbers we get from mac80211.

This patch depends on
ssb: Fix extraction of values from SPROM

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/main.h
drivers/net/wireless/b43/xmit.c