summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2017-04-17 13:59:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-08 12:12:47 +0200
commit471d4a48d8d19cce4afcb02072b19108cbbf2571 (patch)
tree32c67e8fa89511e8c1f7f51c8c571db0bbb93328 /fs
parent2bb306460188d3200e42e1431d24d19df4159505 (diff)
mac80211: ibss: Fix channel type enum in ieee80211_sta_join_ibss()
commit a4ac6f2e53e568a77a2eb3710efd99ca08634c0a upstream. cfg80211_chandef_create() expects an 'enum nl80211_channel_type' as channel type however in ieee80211_sta_join_ibss() NL80211_CHAN_WIDTH_20_NOHT is passed in two occasions, which is of the enum type 'nl80211_chan_width'. Change the value to NL80211_CHAN_NO_HT (20 MHz, non-HT channel) of the channel type enum. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Cc: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions