diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2007-09-17 05:16:38 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2007-09-17 05:16:38 +0000 |
| commit | 0e8c5adf211ae3a5e3ab19d96ca3a01d03210125 (patch) | |
| tree | eb5408d03cb1fc35092ac80442ddcaa4704da9d5 /sys/dev/ath/if_ath.c | |
| parent | 77d5e06852be4c71423c6b627a7248f7e10b06e6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath/if_ath.c')
| -rw-r--r-- | sys/dev/ath/if_ath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 1f3fc485b317..56545638286b 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -5605,6 +5605,10 @@ ath_rate_setup(struct ath_softc *sc, u_int mode) break; case IEEE80211_MODE_TURBO_A: rt = ath_hal_getratetable(ah, HAL_MODE_108A); +#if HAL_ABI_VERSION < 0x07013100 + if (rt == NULL) /* XXX bandaid for old hal's */ + rt = ath_hal_getratetable(ah, HAL_MODE_TURBO); +#endif break; case IEEE80211_MODE_TURBO_G: rt = ath_hal_getratetable(ah, HAL_MODE_108G); |
