Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109453322
D4236.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D4236.id.diff
View Options
Index: sys/dev/iwm/if_iwm.c
===================================================================
--- sys/dev/iwm/if_iwm.c
+++ sys/dev/iwm/if_iwm.c
@@ -3834,6 +3834,7 @@
iwm_watchdog(void *arg)
{
struct iwm_softc *sc = arg;
+ struct ieee80211com *ic = &sc->sc_ic;
if (sc->sc_tx_timer > 0) {
if (--sc->sc_tx_timer == 0) {
@@ -3841,8 +3842,8 @@
#ifdef IWM_DEBUG
iwm_nic_error(sc);
#endif
- iwm_stop(sc);
- counter_u64_add(sc->sc_ic.ic_oerrors, 1);
+ ieee80211_restart_all(ic);
+ counter_u64_add(ic->ic_oerrors, 1);
return;
}
}
@@ -4356,10 +4357,10 @@
handled |= (r1 & (IWM_CSR_INT_BIT_ALIVE /*| IWM_CSR_INT_BIT_SCD*/));
if (r1 & IWM_CSR_INT_BIT_SW_ERR) {
-#ifdef IWM_DEBUG
- int i;
struct ieee80211com *ic = &sc->sc_ic;
+#ifdef IWM_DEBUG
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
+ int i;
iwm_nic_error(sc);
@@ -4379,7 +4380,7 @@
#endif
device_printf(sc->sc_dev, "fatal firmware error\n");
- iwm_stop(sc);
+ ieee80211_restart_all(ic);
rv = 1;
goto out;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 6:40 AM (10 h, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16488654
Default Alt Text
D4236.id.diff (1 KB)
Attached To
Mode
D4236: iwm(4): restart device after watchdog timeouts and firmware errors
Attached
Detach File
Event Timeline
Log In to Comment