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/8399fac79a72
branches:  trunk
changeset: 1027104:8399fac79a72
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 dcdfd7d44d70 -r 8399fac79a72 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
@@ -658,7 +658,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:
@@ -797,7 +797,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