nl80211_fix_set_freq.patch

This commit is contained in:
Felix Fietkau 2013-06-30 21:01:13 +00:00 committed by sinavir
parent 9845c4d778
commit 1fbdd1c913
No known key found for this signature in database

View file

@ -5512,7 +5512,7 @@ static int nl80211_set_channel(struct i802_bss *bss,
freq->he_enabled, freq->eht_enabled, freq->bandwidth,
freq->center_freq1, freq->center_freq2);
msg = nl80211_drv_msg(drv, 0, set_chan ? NL80211_CMD_SET_CHANNEL :
msg = nl80211_bss_msg(bss, 0, set_chan ? NL80211_CMD_SET_CHANNEL :
NL80211_CMD_SET_WIPHY);
if (!msg || nl80211_put_freq_params(msg, freq) < 0) {
nlmsg_free(msg);