follow prevailing style
This commit is contained in:
parent
30697b9f55
commit
e2017a9003
@ -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 {
|
||||
|
@ -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);
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user