Stanislaw Gruszka cd017f25e3 iwlagn: fix scan tx antenna setting on 5Ghz band
Looks that we do not set correctly antennas when scanning
on 5Ghz band and when bluetooth is enabled, because
priv->cfg->scan_tx_antennas[band] is only defined for
IEEE80211_BAND_2GHZ.

To fix we check band before limiting antennas to first one.
This allow to remove hard coded cfg->scan_tx_antennas[band].

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-04 14:35:11 -05:00
..
2010-11-08 16:32:38 -05:00
2010-12-22 15:43:26 -05:00
2010-12-22 15:45:52 -05:00
2010-12-22 15:43:26 -05:00
2010-12-22 15:43:26 -05:00
2010-11-22 15:58:54 -05:00
2010-11-22 15:58:46 -05:00
2010-12-15 16:17:49 -05:00
2010-12-15 16:17:49 -05:00