diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-12-23 17:12:30 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-04 22:35:11 +0300 |
commit | cd017f25e391dfabaca185bb4a5aefd02fd6c0ca (patch) | |
tree | 19a121d534e8604e37aac8a9290baa0365547035 /drivers/net/macb.c | |
parent | cd2c5486526b744fb505e18c9d981b35feaf283a (diff) | |
download | linux-cd017f25e391dfabaca185bb4a5aefd02fd6c0ca.tar.xz |
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>
Diffstat (limited to 'drivers/net/macb.c')
0 files changed, 0 insertions, 0 deletions