Date: Tue, 3 Feb 2009 22:32:26 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net80211 ieee80211.c Message-ID: <200902032232.n13MWhJr093895@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2009-02-03 22:32:26 UTC
FreeBSD src repository
Modified files:
sys/net80211 ieee80211.c
Log:
SVN rev 188106 on 2009-02-03 22:32:26Z by sam
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.
Revision Changes Path
1.62 +14 -12 src/sys/net80211/ieee80211.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902032232.n13MWhJr093895>
