diff options
author | adrian <adrian@FreeBSD.org> | 2015-10-03 17:18:35 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-10-03 17:18:35 +0000 |
commit | 2ea0873c4aaa18db6c9ac601db037f276d4a377f (patch) | |
tree | 86e3261a687ff079f0bd06217c4c4036ad1f299d /sys/dev/usb/wlan/if_rumvar.h | |
parent | 975ee385063b35b7091753ad87bef8909182b2b8 (diff) | |
download | FreeBSD-src-2ea0873c4aaa18db6c9ac601db037f276d4a377f.zip FreeBSD-src-2ea0873c4aaa18db6c9ac601db037f276d4a377f.tar.gz |
rum(4): do not corrupt MAC address
Don't override the NIC MAC address with an overridden MAC address for
a VAP.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3625
Diffstat (limited to 'sys/dev/usb/wlan/if_rumvar.h')
-rw-r--r-- | sys/dev/usb/wlan/if_rumvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_rumvar.h b/sys/dev/usb/wlan/if_rumvar.h index fd3d8fa..c78a0d8 100644 --- a/sys/dev/usb/wlan/if_rumvar.h +++ b/sys/dev/usb/wlan/if_rumvar.h @@ -137,6 +137,8 @@ struct rum_softc { u_int sc_detached:1, sc_running:1; + uint8_t sc_bssid[IEEE80211_ADDR_LEN]; + struct { uint8_t val; uint8_t reg; |