Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166814959
D6081.id15549.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D6081.id15549.diff
View Options
Index: sys/dev/iwm/if_iwm.c
===================================================================
--- sys/dev/iwm/if_iwm.c
+++ sys/dev/iwm/if_iwm.c
@@ -4372,6 +4372,20 @@
" rx ring: cur=%d\n", sc->rxq.cur);
device_printf(sc->sc_dev,
" 802.11 state %d\n", vap->iv_state);
+#if 1
+ IWM_UNLOCK(sc);
+ if (vap == NULL) {
+ printf("%s: null vap\n", __func__);
+ return;
+ }
+
+ device_printf(sc->sc_dev, "%s: controller panicked, iv_state = %d; "
+ "restarting\n", __func__, vap->iv_state);
+
+ ieee80211_restart_all(ic);
+ return;
+#endif
+
#endif
device_printf(sc->sc_dev, "fatal firmware error\n");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 17, 8:34 PM (3 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36868820
Default Alt Text
D6081.id15549.diff (635 B)
Attached To
Mode
D6081: allow to restart iwm automatically
Attached
Detach File
Event Timeline
Log In to Comment