diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2019-11-27 20:00:44 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2019-11-27 20:00:44 +0000 |
| commit | 9005a5a0f472b45b03faa559ba346ae2f717c56c (patch) | |
| tree | 2ef7b0b92ac4386138447a9a94aeb0aa4f1b7767 /sys/dev/bwn | |
| parent | 5c3771d272f53399ca0b1e57689cbec1e38be7ff (diff) | |
Notes
Diffstat (limited to 'sys/dev/bwn')
| -rw-r--r-- | sys/dev/bwn/if_bwnvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bwn/if_bwnvar.h b/sys/dev/bwn/if_bwnvar.h index 22695b43e7b4..a97268de93d6 100644 --- a/sys/dev/bwn/if_bwnvar.h +++ b/sys/dev/bwn/if_bwnvar.h @@ -129,7 +129,7 @@ struct bwn_mac; 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 || \ |
