Date: Thu, 3 Apr 2008 16:38:42 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 139272 for review Message-ID: <200804031638.m33GcgTt085512@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=139272 Change 139272 by thompsa@thompsa_burger on 2008/04/03 16:37:53 Set the default opmode or we panic with an unknown media type on ifmedia_set(). Affected files ... .. //depot/projects/vap/sys/dev/wpi/if_wpi.c#13 edit Differences ... ==== //depot/projects/vap/sys/dev/wpi/if_wpi.c#13 (text+ko) ==== @@ -614,7 +614,8 @@ } ic->ic_ifp = ifp; - ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ + ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ + ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ /* set device capabilities */ ic->ic_caps =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804031638.m33GcgTt085512>