commit | a4ac6f2e53e568a77a2eb3710efd99ca08634c0a | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <mka@chromium.org> | Mon Apr 17 13:59:53 2017 -0700 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Apr 18 11:02:35 2017 +0200 |
tree | c512468ee712518b0d09ab2c385bcbc9aaeb2252 | |
parent | aa1702dd162f420bf85ecef0c77686ef0dbc1496 [diff] |
mac80211: ibss: Fix channel type enum in ieee80211_sta_join_ibss() 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>