diff options
author | sam <sam@FreeBSD.org> | 2009-02-03 22:32:26 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-02-03 22:32:26 +0000 |
commit | a142097876818fa2a5871c6b7b4195c2a40a67c3 (patch) | |
tree | bfb2f1d495936b11382174aaf8623b47d8f7c234 /sbin/fsck_ffs | |
parent | db0963893d564ede8e1864990855a43210cf0552 (diff) | |
download | FreeBSD-src-a142097876818fa2a5871c6b7b4195c2a40a67c3.zip FreeBSD-src-a142097876818fa2a5871c6b7b4195c2a40a67c3.tar.gz |
When crafting a media setting w/ an auto (non-fixed) rate mask out the
turbo option in addition to the mode bits; otherwise if the current
channel is a turbo mode channel we'll form an invalid media setting
and the ifmedia_set operation in vap_attach will panic.
While here use C99-style initialization for an array indexed by mode;
this makes it consistent w/ other usage and avoids breakage if we
should ever change the set of modes.
Diffstat (limited to 'sbin/fsck_ffs')
0 files changed, 0 insertions, 0 deletions