aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 866eb8078121..8b47d81fc716 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -2787,6 +2787,7 @@ static int ieee80211_sta_join_ibss(struct net_device *dev,
2787 "for IBSS beacon\n", dev->name); 2787 "for IBSS beacon\n", dev->name);
2788 break; 2788 break;
2789 } 2789 }
2790 control.vif = &sdata->vif;
2790 control.tx_rate = 2791 control.tx_rate =
2791 (sdata->bss_conf.use_short_preamble && 2792 (sdata->bss_conf.use_short_preamble &&
2792 (ratesel.rate->flags & IEEE80211_RATE_PREAMBLE2)) ? 2793 (ratesel.rate->flags & IEEE80211_RATE_PREAMBLE2)) ?