mirror of https://github.com/proski/madwifi
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:
parent
a068895300
commit
aebfe2bea0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue