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/ba8407dd12c7
branches:  trunk
changeset: 375149:ba8407dd12c7
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 44c9df398634 -r ba8407dd12c7 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 @@ ieee80211_vap_setup(struct ieee80211com 
 
        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 @@ ieee80211_vap_attach(struct ieee80211vap
 #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