mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Two easily resolvable overlapping change conflicts, one in TCP and one in the eBPF verifier. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
375ca548f7
142 changed files with 1185 additions and 745 deletions
|
@ -941,6 +941,7 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|||
BSS_CHANGED_P2P_PS |
|
||||
BSS_CHANGED_TXPOWER;
|
||||
int err;
|
||||
int prev_beacon_int;
|
||||
|
||||
old = sdata_dereference(sdata->u.ap.beacon, sdata);
|
||||
if (old)
|
||||
|
@ -963,6 +964,7 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|||
|
||||
sdata->needed_rx_chains = sdata->local->rx_chains;
|
||||
|
||||
prev_beacon_int = sdata->vif.bss_conf.beacon_int;
|
||||
sdata->vif.bss_conf.beacon_int = params->beacon_interval;
|
||||
|
||||
if (params->he_cap)
|
||||
|
@ -974,8 +976,10 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|||
if (!err)
|
||||
ieee80211_vif_copy_chanctx_to_vlans(sdata, false);
|
||||
mutex_unlock(&local->mtx);
|
||||
if (err)
|
||||
if (err) {
|
||||
sdata->vif.bss_conf.beacon_int = prev_beacon_int;
|
||||
return err;
|
||||
}
|
||||
|
||||
/*
|
||||
* Apply control port protocol, this allows us to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue