mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
follow prevailing style
This commit is contained in:
parent
09267187e7
commit
72fecb4d6c
3 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue