Change the default VAP interface type to ARPHRD_ETHER

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2855 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mentor 2007-11-15 18:32:03 +00:00
parent a068895300
commit aebfe2bea0

View File

@ -1128,7 +1128,8 @@ ath_vap_create(struct ieee80211com *ic, const char *name,
if (sc->sc_rc->ops->dynamic_proc_register)
sc->sc_rc->ops->dynamic_proc_register(vap);
dev->type = ARPHRD_IEEE80211;
/* XXX: VAPs emulate ethernet - true/false/good/bad? */
dev->type = ARPHRD_ETHER;
if (opmode == IEEE80211_M_MONITOR)
/* Use RadioTAP interface type for monitor mode. */
dev->type = ARPHRD_IEEE80211_RADIOTAP;