From e355ad550cf3dbfec15ea728468554def5a367da Mon Sep 17 00:00:00 2001 From: Weongyo Jeong Date: Tue, 23 Feb 2010 19:44:51 +0000 Subject: fixes a compile error; invalid type argument of '->'. --- sys/dev/bwn/if_bwn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/bwn') 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); -- cgit v1.3