Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149232713
D22573.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D22573.diff
View Options
Index: head/sys/dev/bwn/if_bwnvar.h
===================================================================
--- head/sys/dev/bwn/if_bwnvar.h
+++ head/sys/dev/bwn/if_bwnvar.h
@@ -129,7 +129,7 @@
mac->mac_phy.phy_maskset(mac, offset, mask, 0); \
} else \
BWN_PHY_WRITE(mac, offset, \
- BWN_PHY_READ(mac, offset) & mask); \
+ BWN_PHY_READ(mac, offset) & (mask)); \
} while (0)
#define BWN_PHY_COPY(mac, dst, src) do { \
KASSERT(mac->mac_status < BWN_MAC_STATUS_INITED || \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 24, 4:38 AM (11 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30196774
Default Alt Text
D22573.diff (506 B)
Attached To
Mode
D22573: Fix a logic bug when "mask: contains a ?: operator.
Attached
Detach File
Event Timeline
Log In to Comment