FreeBSD Bugzilla – Attachment 156012 Details for
Bug 199712
[rum] [patch]: use ieee80211_tx_complete()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Convert rum driver to ieee80211_tx_complete()
patch-rum.diff (text/plain), 803 bytes, created by
Andriy Voskoboinyk
on 2015-04-26 14:57:11 UTC
(
hide
)
Description:
Convert rum driver to ieee80211_tx_complete()
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-04-26 14:57:11 UTC
Size:
803 bytes
patch
obsolete
>Index: sys/dev/usb/wlan/if_rum.c >=================================================================== >--- sys/dev/usb/wlan/if_rum.c (revision 281839) >+++ sys/dev/usb/wlan/if_rum.c (working copy) >@@ -644,17 +644,15 @@ > rum_tx_free(struct rum_tx_data *data, int txerr) > { > struct rum_softc *sc = data->sc; >+ struct mbuf *m; >+ struct ieee80211_node *ni; > >- if (data->m != NULL) { >- if (data->m->m_flags & M_TXCB) >- ieee80211_process_callback(data->ni, data->m, >- txerr ? ETIMEDOUT : 0); >- m_freem(data->m); >- data->m = NULL; >+ m = data->m, data->m = NULL; >+ ni = data->ni, data->ni = NULL; > >- ieee80211_free_node(data->ni); >- data->ni = NULL; >- } >+ if (m != NULL) >+ ieee80211_tx_complete(ni, m, txerr ? ETIMEDOUT : 0); >+ > STAILQ_INSERT_TAIL(&sc->tx_free, data, next); > sc->tx_nfree++; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199712
: 156012