Clang exposed incorrect enum being used (values
are the same).
Change-Id: I0a90bda5835843319f718d61378ca30d4e912371
SCSC-Bug-Id: SSB-40929
Signed-off-by: Ivan Priest <i.priest@samsung.com>
SLSI_DBG1(sdev, SLSI_CFG80211, "p2p ecsa_params chan_type = %d\n", chan_type);
if (channel == 165 && bandwidth != 20) {
bandwidth = 20;
- chan_type = NL80211_CHAN_WIDTH_20;
+ chan_type = NL80211_CHAN_HT20;
SLSI_DBG3(sdev, SLSI_CFG80211, "downgrade bandwidth [from:%d to:20] on chan 165\n", bandwidth);
}
cfg80211_chandef_create(&chandef, chandef.chan, chan_type);