diff options
| author | Stanislaw Gruszka <[email protected]> | 2010-12-23 15:12:30 +0100 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-01-04 14:35:11 -0500 |
| commit | cd017f25e391dfabaca185bb4a5aefd02fd6c0ca (patch) | |
| tree | 19a121d534e8604e37aac8a9290baa0365547035 /tools/perf/scripts | |
| parent | cd2c5486526b744fb505e18c9d981b35feaf283a (diff) | |
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 <[email protected]>
Acked-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions