Skip to content

Commit c39b336

Browse files
jmalinenjmberg-intel
authored andcommitted
mac80211: Allow a STA to join an IBSS with 80+80 MHz channel
While it was possible to create an IBSS with 80+80 MHz channel, joining such an IBSS resulted in falling back to 20 MHz channel with VHT disabled due to a missing switch case for 80+80. Signed-off-by: Jouni Malinen <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 1aeb135 commit c39b336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/mac80211/ibss.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ static void ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
428428
chandef.width = sdata->u.ibss.chandef.width;
429429
break;
430430
case NL80211_CHAN_WIDTH_80:
431+
case NL80211_CHAN_WIDTH_80P80:
431432
case NL80211_CHAN_WIDTH_160:
432433
chandef = sdata->u.ibss.chandef;
433434
chandef.chan = cbss->channel;

0 commit comments

Comments
 (0)