Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Remove some cleanup notes no longer neede...
details: https://anonhg.NetBSD.org/src-all/rev/e9da0238df3d
branches: trunk
changeset: 986214:e9da0238df3d
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Sun Jun 06 13:17:19 2021 +0200
description:
Remove some cleanup notes no longer needed (comment changes only)
diffstat:
sys/net80211/ieee80211.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r afe03f33c57e -r e9da0238df3d sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c Sat Feb 13 18:51:00 2021 +0100
+++ b/sys/net80211/ieee80211.c Sun Jun 06 13:17:19 2021 +0200
@@ -659,7 +659,7 @@
vap->iv_opmode = opmode;
vap->iv_caps |= ieee80211_opcap[opmode];
- /* NNN Done in vap_attach, where is the correct place? */
+
IEEE80211_ADDR_COPY(vap->iv_myaddr, ic->ic_macaddr);
switch (opmode) {
case IEEE80211_M_WDS:
@@ -798,7 +798,6 @@
#else
ieee80211_if_attach(ifp, macaddr);
#endif
- /* NNN also done in vap_setup, which is correct? */
IEEE80211_ADDR_COPY(vap->iv_myaddr, IF_LLADDR(ifp));
/* hook output method setup by ether_ifattach */
Home |
Main Index |
Thread Index |
Old Index