diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 2079d480cd7b21ee3788f85d6b19c8a34d1550cd..84e0e8c7fb236952dfc1cfcb23204623e80d7867 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -686,7 +686,8 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP || tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT || - tx->sdata->vif.type == NL80211_IFTYPE_ADHOC); + tx->sdata->vif.type == NL80211_IFTYPE_ADHOC || + tx->sdata->vif.type == NL80211_IFTYPE_OCB); /* set up RTS protection if desired */ if (len > tx->local->hw.wiphy->rts_threshold) {