summaryrefslogtreecommitdiffstats
path: root/bin/sh/var.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-05-08 15:55:52 +0000
committeradrian <adrian@FreeBSD.org>2011-05-08 15:55:52 +0000
commita2816e3bed5782537b0c8e30da147b0d61e3fb25 (patch)
treee5343ae540b2526162c3099d1171ba401fcba43f /bin/sh/var.c
parente8652e874eae796fc0c177d880aabe12906e6e24 (diff)
downloadFreeBSD-src-a2816e3bed5782537b0c8e30da147b0d61e3fb25.zip
FreeBSD-src-a2816e3bed5782537b0c8e30da147b0d61e3fb25.tar.gz
Fix the 5ghz fast clock logic.
The macro which I incorrectly copied into ah_internal.h assumed that it'd be called with an AR_SREV_MERLIN_20() check to ensure it was only enabled for Merlin (AR9280) silicon revision 2.0 or later. Trouble is, the 5GHz fast clock EEPROM flag is only valid for EEPROM revision 16 or greater; it's assumed to be enabled by default for Merlin rev >= 2.0. This meant it'd be incorrectly set for AR5416 and AR9160 in 5GHz mode. This would have affected non-default clock timings such as SIFS, ACK and slot time. The incorrect slot time was very likely wrong for 5ghz mode.
Diffstat (limited to 'bin/sh/var.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud