fixes a compile error; invalid type argument of '->'.

This commit is contained in:
Weongyo Jeong 2010-02-23 19:44:51 +00:00
parent 411cadae7b
commit e355ad550c

View File

@ -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);