From df400f39ee5646ca1fdab098aae70ac920f8efea Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 7 Apr 2010 17:31:56 +0000 Subject: Fix build. Pointy hat: me MFC after: 1 month --- sys/net80211/ieee80211_ratectl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/net80211/ieee80211_ratectl.h b/sys/net80211/ieee80211_ratectl.h index 1093df4..29227a9 100644 --- a/sys/net80211/ieee80211_ratectl.h +++ b/sys/net80211/ieee80211_ratectl.h @@ -94,7 +94,7 @@ ieee80211_ratectl_rate(struct ieee80211_node *ni, void *arg, uint32_t iarg) const struct ieee80211vap *vap = ni->ni_vap; if (ni->ni_rctls == NULL) /* ratectl not setup */ - return; + return 0; return vap->iv_rate->ir_rate(ni, arg, iarg); } -- cgit v1.1