summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-06-01 18:50:35 +0000
committeralfred <alfred@FreeBSD.org>2002-06-01 18:50:35 +0000
commitdb0dbae1d85c22a4edc37d176f4e84ab992144a7 (patch)
treedb61ceae49edf8ba6a7c3f8c376ec0c0927dbbf0 /sys/dev/ray
parent15e61a8561536acfdf033afd711536604178ee2c (diff)
downloadFreeBSD-src-db0dbae1d85c22a4edc37d176f4e84ab992144a7.zip
FreeBSD-src-db0dbae1d85c22a4edc37d176f4e84ab992144a7.tar.gz
Fix warnings.
There's no need to use concatination when you have 'something.macro_arg'. Comment out comment following #endif.
Diffstat (limited to 'sys/dev/ray')
-rw-r--r--sys/dev/ray/if_ray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ray/if_ray.c b/sys/dev/ray/if_ray.c
index 0b5822e..605c33f 100644
--- a/sys/dev/ray/if_ray.c
+++ b/sys/dev/ray/if_ray.c
@@ -900,7 +900,7 @@ ray_init_download_v4(struct ray_softc *sc, struct ray_comq_entry *com)
RAY_DPRINTF(sc, RAY_DBG_SUBR | RAY_DBG_STARTJOIN, "");
RAY_MAP_CM(sc);
-#define MIB4(m) ray_mib_4_default.##m
+#define MIB4(m) ray_mib_4_default.m
MIB4(mib_net_type) = com->c_desired.np_net_type;
MIB4(mib_ap_status) = com->c_desired.np_ap_status;
@@ -964,7 +964,7 @@ ray_init_download_v5(struct ray_softc *sc, struct ray_comq_entry *com)
RAY_DPRINTF(sc, RAY_DBG_SUBR | RAY_DBG_STARTJOIN, "");
RAY_MAP_CM(sc);
-#define MIB5(m) ray_mib_5_default.##m
+#define MIB5(m) ray_mib_5_default.m
MIB5(mib_net_type) = com->c_desired.np_net_type;
MIB5(mib_ap_status) = com->c_desired.np_ap_status;
bcopy(com->c_desired.np_ssid, MIB5(mib_ssid), IEEE80211_NWID_LEN);
@@ -2287,7 +2287,7 @@ ray_rx_mgt_info(struct ray_softc *sc, struct mbuf *m0, struct ieee80211_informat
RAY_DPRINTF(sc, RAY_DBG_MGT,
"tim pvt[%03d]\t0x%02x", i-5, bp[i]);
}
-#endif (RAY_DEBUG & RAY_DBG_MGT)
+#endif /* (RAY_DEBUG & RAY_DBG_MGT) */
break;
case IEEE80211_ELEMID_IBSSPARMS:
OpenPOWER on IntegriCloud