summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-12-31 21:21:46 +0000
committersam <sam@FreeBSD.org>2008-12-31 21:21:46 +0000
commite2017a900339758e46a841b2206b3434c437efdd (patch)
treee081e5d96dd27b681ea2a26816d896fcdcf9b1cc /sys/net80211
parent30697b9f55864da537c885c0dae1f04038908365 (diff)
downloadFreeBSD-src-e2017a900339758e46a841b2206b3434c437efdd.zip
FreeBSD-src-e2017a900339758e46a841b2206b3434c437efdd.tar.gz
follow prevailing style
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_hostap.c2
-rw-r--r--sys/net80211/ieee80211_output.c2
-rw-r--r--sys/net80211/ieee80211_wds.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c
index c333954..e0f831b 100644
--- a/sys/net80211/ieee80211_hostap.c
+++ b/sys/net80211/ieee80211_hostap.c
@@ -355,7 +355,7 @@ hostap_deliver_data(struct ieee80211vap *vap,
if (mcopy != NULL) {
int len, err;
len = mcopy->m_pkthdr.len;
- err = (ifp->if_transmit)(ifp, mcopy);
+ err = ifp->if_transmit(ifp, mcopy);
if (err) {
/* NB: IFQ_HANDOFF reclaims mcopy */
} else {
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 050d892..2f10232 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -266,7 +266,7 @@ ieee80211_start(struct ifnet *ifp)
m->m_pkthdr.rcvif = (void *)ni;
/* XXX defer if_start calls? */
- error = (parent->if_transmit)(parent, m);
+ error = parent->if_transmit(parent, m);
if (error != 0) {
/* NB: IFQ_HANDOFF reclaims mbuf */
ieee80211_free_node(ni);
diff --git a/sys/net80211/ieee80211_wds.c b/sys/net80211/ieee80211_wds.c
index fe59293..2501cb50 100644
--- a/sys/net80211/ieee80211_wds.c
+++ b/sys/net80211/ieee80211_wds.c
@@ -278,7 +278,7 @@ ieee80211_dwds_mcast(struct ieee80211vap *vap0, struct mbuf *m)
mcopy->m_flags |= M_MCAST | M_WDS;
mcopy->m_pkthdr.rcvif = (void *) ni;
- err = (parent->if_transmit)(parent, mcopy);
+ err = parent->if_transmit(parent, mcopy);
if (err) {
/* NB: IFQ_HANDOFF reclaims mbuf */
ifp->if_oerrors++;
OpenPOWER on IntegriCloud