Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F139478821
D4304.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
373 B
Referenced Files
None
Subscribers
None
D4304.diff
View Options
Index: head/sys/dev/wpi/if_wpi.c
===================================================================
--- head/sys/dev/wpi/if_wpi.c
+++ head/sys/dev/wpi/if_wpi.c
@@ -3556,6 +3556,13 @@
{
struct wpi_softc *sc = ic->ic_softc;
+ WPI_LOCK(sc);
+ if (sc->sc_running == 0) {
+ WPI_UNLOCK(sc);
+ return;
+ }
+ WPI_UNLOCK(sc);
+
WPI_RXON_LOCK(sc);
wpi_set_promisc(sc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 13, 1:47 PM (9 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26932507
Default Alt Text
D4304.diff (373 B)
Attached To
Mode
D4304: wpi(4): ignore ic_update_promisc() call when device is not running
Attached
Detach File
Event Timeline
Log In to Comment