Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22b970264
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22b970264
Commits
a59b40b3
Commit
a59b40b3
authored
Dec 2, 2013
by
John W. Linville
Browse files
Options
Downloads
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
parents
019b9528
0834ae3c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
net/mac80211/ibss.c
+4
-0
4 additions, 0 deletions
net/mac80211/ibss.c
net/wireless/core.c
+6
-0
6 additions, 0 deletions
net/wireless/core.c
with
10 additions
and
0 deletions
net/mac80211/ibss.c
+
4
−
0
View file @
a59b40b3
...
@@ -823,6 +823,10 @@ ieee80211_ibss_process_chanswitch(struct ieee80211_sub_if_data *sdata,
...
@@ -823,6 +823,10 @@ ieee80211_ibss_process_chanswitch(struct ieee80211_sub_if_data *sdata,
if
(
err
)
if
(
err
)
return
false
;
return
false
;
/* channel switch is not supported, disconnect */
if
(
!
(
sdata
->
local
->
hw
.
wiphy
->
flags
&
WIPHY_FLAG_HAS_CHANNEL_SWITCH
))
goto
disconnect
;
params
.
count
=
csa_ie
.
count
;
params
.
count
=
csa_ie
.
count
;
params
.
chandef
=
csa_ie
.
chandef
;
params
.
chandef
=
csa_ie
.
chandef
;
...
...
This diff is collapsed.
Click to expand it.
net/wireless/core.c
+
6
−
0
View file @
a59b40b3
...
@@ -454,6 +454,12 @@ int wiphy_register(struct wiphy *wiphy)
...
@@ -454,6 +454,12 @@ int wiphy_register(struct wiphy *wiphy)
/* support for 5/10 MHz is broken due to nl80211 API mess - disable */
/* support for 5/10 MHz is broken due to nl80211 API mess - disable */
wiphy
->
flags
&=
~
WIPHY_FLAG_SUPPORTS_5_10_MHZ
;
wiphy
->
flags
&=
~
WIPHY_FLAG_SUPPORTS_5_10_MHZ
;
/*
* There are major locking problems in nl80211/mac80211 for CSA,
* disable for all drivers until this has been reworked.
*/
wiphy
->
flags
&=
~
WIPHY_FLAG_HAS_CHANNEL_SWITCH
;
#ifdef CONFIG_PM
#ifdef CONFIG_PM
if
(
WARN_ON
(
wiphy
->
wowlan
&&
if
(
WARN_ON
(
wiphy
->
wowlan
&&
(
wiphy
->
wowlan
->
flags
&
WIPHY_WOWLAN_GTK_REKEY_FAILURE
)
&&
(
wiphy
->
wowlan
->
flags
&
WIPHY_WOWLAN_GTK_REKEY_FAILURE
)
&&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment