summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorweongyo <weongyo@FreeBSD.org>2010-02-23 19:44:51 +0000
committerweongyo <weongyo@FreeBSD.org>2010-02-23 19:44:51 +0000
commit6784b4b28a1285414cfa608a59cfe8b589f32d08 (patch)
treebcf7459ec121b108968e85c5db7069448a21e36e
parentc847086ff14f9a0ff83034228504736d98f1fed9 (diff)
downloadFreeBSD-src-6784b4b28a1285414cfa608a59cfe8b589f32d08.zip
FreeBSD-src-6784b4b28a1285414cfa608a59cfe8b589f32d08.tar.gz
fixes a compile error; invalid type argument of '->'.
-rw-r--r--sys/dev/bwn/if_bwn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index bb3128a..b77f55c 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);
OpenPOWER on IntegriCloud