Fix build.

Pointy hat:	me
MFC after:	1 month
This commit is contained in:
Rui Paulo 2010-04-07 17:31:56 +00:00
parent 8a19114d8e
commit f516292f51

View File

@ -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);
}