Skip to content

Commit 43fe0bd

Browse files
committed
Merge pull request linux4kix#12 from linux4kix/linux-linaro-lsk-v3.14-mx6
brcmfmac: deal with NL80211_CHANWIDTH_20_NOHT setting
2 parents 6fbe2a0 + 0eba97c commit 43fe0bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ static u16 chandef_to_chanspec(struct brcmu_d11inf *d11inf,
352352
ch_inf.chnum = ieee80211_frequency_to_channel(ch->center_freq1);
353353
primary_offset = ch->center_freq1 - ch->chan->center_freq;
354354
switch (ch->width) {
355+
case NL80211_CHAN_WIDTH_20_NOHT:
355356
case NL80211_CHAN_WIDTH_20:
356357
ch_inf.bw = BRCMU_CHAN_BW_20;
357358
WARN_ON(primary_offset != 0);

0 commit comments

Comments
 (0)