diff options
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_ratectl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |