diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index bb3128a5f358..b77f55c1faa8 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -5969,7 +5969,7 @@ bwn_lo_write(struct bwn_mac *mac, struct bwn_loctl *ctl) { uint16_t value; - KASSERT(mac->mac_phy->type == BWN_PHYTYPE_G, + KASSERT(mac->mac_phy.type == BWN_PHYTYPE_G, ("%s:%d: fail", __func__, __LINE__)); value = (uint8_t) (ctl->q);