FreeBSD Bugzilla – Attachment 175966 Details for
Bug 213444
iwn Wi-Fi not working after suspend/resume, after upgrading to 11.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix possible driver hang (see r305745)
patch-iwn-txcb.diff (text/plain), 848 bytes, created by
Andriy Voskoboinyk
on 2016-10-20 08:38:04 UTC
(
hide
)
Description:
Fix possible driver hang (see r305745)
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2016-10-20 08:38:04 UTC
Size:
848 bytes
patch
obsolete
>Index: sys/dev/iwn/if_iwn.c >=================================================================== >--- sys/dev/iwn/if_iwn.c (revision 307664) >+++ sys/dev/iwn/if_iwn.c (working copy) >@@ -4903,6 +4903,8 @@ > > IWN_LOCK(sc); > if ((sc->sc_flags & IWN_FLAG_RUNNING) == 0) { >+ if (m->m_flags & M_TXCB) >+ ieee80211_process_callback(ni, m, 1); > m_freem(m); > IWN_UNLOCK(sc); > return (ENETDOWN); >@@ -4911,6 +4913,8 @@ > /* queue frame if we have to */ > if (sc->sc_beacon_wait) { > if (iwn_xmit_queue_enqueue(sc, m) != 0) { >+ if (m->m_flags & M_TXCB) >+ ieee80211_process_callback(ni, m, 1); > m_freem(m); > IWN_UNLOCK(sc); > return (ENOBUFS); >@@ -4935,8 +4939,11 @@ > } > if (error == 0) > sc->sc_tx_timer = 5; >- else >+ else { >+ if (m->m_flags & M_TXCB) >+ ieee80211_process_callback(ni, m, 1); > m_freem(m); >+ } > > IWN_UNLOCK(sc); >
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 213444
:
175963
|
175964
|
175965
| 175966 |
175967
|
175969
|
175978
|
175979