PERFORCE change 139272 for review

Andrew Thompson thompsa at FreeBSD.org
Thu Apr 3 16:38:43 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=139272

Change 139272 by thompsa at 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 =


More information about the p4-projects mailing list