nl80211_fix_set_freq.patch
This commit is contained in:
parent
9845c4d778
commit
1fbdd1c913
1 changed files with 1 additions and 1 deletions
|
@ -5512,7 +5512,7 @@ static int nl80211_set_channel(struct i802_bss *bss,
|
||||||
freq->he_enabled, freq->eht_enabled, freq->bandwidth,
|
freq->he_enabled, freq->eht_enabled, freq->bandwidth,
|
||||||
freq->center_freq1, freq->center_freq2);
|
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);
|
NL80211_CMD_SET_WIPHY);
|
||||||
if (!msg || nl80211_put_freq_params(msg, freq) < 0) {
|
if (!msg || nl80211_put_freq_params(msg, freq) < 0) {
|
||||||
nlmsg_free(msg);
|
nlmsg_free(msg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue