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-10-07 15:52:44 -07:00
2010-10-07 15:52:44 -07:00
2010-12-15 17:03:55 -05:00
2010-11-15 13:26:43 -05:00
2010-10-07 15:51:11 -07:00
2010-12-13 15:51:33 -08:00
2010-12-26 10:09:02 -08:00
2010-11-15 13:26:59 -05:00
2010-08-06 13:53:58 -04:00
2010-08-27 09:28:08 -07:00
2010-12-26 10:01:04 -08:00
2010-11-15 13:26:59 -05:00
2010-11-16 16:39:09 -05:00
2010-11-16 07:46:35 -08:00
2010-11-15 13:24:58 -05:00
2010-11-22 15:48:51 -05:00