PERFORCE change 70186 for review

Sam Leffler sam at FreeBSD.org
Wed Feb 2 14:47:15 PST 2005


http://perforce.freebsd.org/chv.cgi?CH=70186

Change 70186 by sam at sam_ebb on 2005/02/02 22:46:20

	balance a refcnt release

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#3 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#3 (text+ko) ====

@@ -1496,7 +1496,7 @@
 		if (ik.ik_flags != (IEEE80211_KEY_XMIT | IEEE80211_KEY_RECV))
 			return EINVAL;
 		if (vap->iv_opmode == IEEE80211_M_STA) {
-			ni = vap->iv_bss;
+			ni = ieee80211_ref_node(vap->iv_bss);
 			if (!IEEE80211_ADDR_EQ(ik.ik_macaddr, ni->ni_bssid))
 				return EADDRNOTAVAIL;
 		} else {


More information about the p4-projects mailing list