Date: Tue, 26 May 2015 12:06:36 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283565 - head/sys/net80211 Message-ID: <201505261206.t4QC6aj7009418@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Tue May 26 12:06:36 2015 New Revision: 283565 URL: https://svnweb.freebsd.org/changeset/base/283565 Log: Reduce diff before functional changes: - Use ic_name instead of if_xname. - Formatting cleanup. Modified: head/sys/net80211/ieee80211.c Modified: head/sys/net80211/ieee80211.c ============================================================================== --- head/sys/net80211/ieee80211.c Tue May 26 11:15:51 2015 (r283564) +++ head/sys/net80211/ieee80211.c Tue May 26 12:06:36 2015 (r283565) @@ -302,7 +302,7 @@ ieee80211_ifattach(struct ieee80211com * ic->ic_tq = taskqueue_create("ic_taskq", M_WAITOK | M_ZERO, taskqueue_thread_enqueue, &ic->ic_tq); taskqueue_start_threads(&ic->ic_tq, 1, PI_NET, "%s net80211 taskq", - ifp->if_xname); + ic->ic_name); /* * Fill in 802.11 available channel set, mark all * available channels as active, and pick a default @@ -617,8 +617,7 @@ ieee80211_vap_detach(struct ieee80211vap CURVNET_SET(ifp->if_vnet); IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE, "%s: %s parent %s\n", - __func__, ieee80211_opmode_name[vap->iv_opmode], - ic->ic_name); + __func__, ieee80211_opmode_name[vap->iv_opmode], ic->ic_name); /* NB: bpfdetach is called by ether_ifdetach and claims all taps */ ether_ifdetach(ifp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505261206.t4QC6aj7009418>