From 6f7fa5b38508c5f124444a1406a0dfc9b64913cd Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 6 Jan 2007 05:38:18 +0000 Subject: Fix compile error. --- sys/net80211/ieee80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net80211/ieee80211.c') diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 9615ba7..2fd2fa4 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -321,7 +321,7 @@ ieee80211_mhz2ieee(u_int freq, u_int flags) * Convert channel to IEEE channel number. */ int -ieee80211_chan2ieee(struct ieee80211com *ic, struct ieee80211_channel *c) +ieee80211_chan2ieee(struct ieee80211com *ic, const struct ieee80211_channel *c) { if (ic->ic_channels <= c && c <= &ic->ic_channels[IEEE80211_CHAN_MAX]) return c - ic->ic_channels; -- cgit v1.1