Date: Sat, 30 Oct 2004 06:23:56 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 63971 for review Message-ID: <200410300623.i9U6NudV029620@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=63971 Change 63971 by sam@sam_ebb on 2004/10/30 06:22:58 use ieee80211_ref_node instead of low-level ieee80211_node_incref Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_node.c#5 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#5 (text+ko) ==== @@ -726,7 +726,7 @@ hash = IEEE80211_NODE_HASH(macaddr); LIST_FOREACH(ni, &ic->ic_hash[hash], ni_hash) { if (IEEE80211_ADDR_EQ(ni->ni_macaddr, macaddr)) { - ieee80211_node_incref(ni); /* mark referenced */ + ieee80211_ref_node(ni); /* mark referenced */ return ni; } } @@ -805,7 +805,7 @@ LIST_FOREACH(ni, &ic->ic_hash[hash], ni_hash) { if (IEEE80211_ADDR_EQ(ni->ni_macaddr, macaddr) && ni->ni_chan == chan) { - ieee80211_node_incref(ni);/* mark referenced */ + ieee80211_ref_node(ni); /* mark referenced */ break; } } @@ -829,7 +829,7 @@ if (IEEE80211_ADDR_EQ(ni->ni_macaddr, macaddr) && ni->ni_esslen == ic->ic_des_esslen && memcmp(ni->ni_essid, ic->ic_des_essid, ni->ni_esslen) == 0) { - ieee80211_node_incref(ni);/* mark referenced */ + ieee80211_ref_node(ni); /* mark referenced */ break; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410300623.i9U6NudV029620>