Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
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
Container 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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
161915a0
Commit
161915a0
authored
11 years ago
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
718803d1
23df0b73
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
net/mac80211/mesh_ps.c
+4
-0
4 additions, 0 deletions
net/mac80211/mesh_ps.c
net/mac80211/pm.c
+5
-2
5 additions, 2 deletions
net/mac80211/pm.c
net/wireless/reg.c
+4
-1
4 additions, 1 deletion
net/wireless/reg.c
with
13 additions
and
3 deletions
net/mac80211/mesh_ps.c
+
4
−
0
View file @
161915a0
...
...
@@ -229,6 +229,10 @@ void ieee80211_mps_sta_status_update(struct sta_info *sta)
enum
nl80211_mesh_power_mode
pm
;
bool
do_buffer
;
/* For non-assoc STA, prevent buffering or frame transmission */
if
(
sta
->
sta_state
<
IEEE80211_STA_ASSOC
)
return
;
/*
* use peer-specific power mode if peering is established and the
* peer's power mode is known
...
...
This diff is collapsed.
Click to expand it.
net/mac80211/pm.c
+
5
−
2
View file @
161915a0
...
...
@@ -99,10 +99,13 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
}
mutex_unlock
(
&
local
->
sta_mtx
);
/* remove all interfaces */
/* remove all interfaces
that were created in the driver
*/
list_for_each_entry
(
sdata
,
&
local
->
interfaces
,
list
)
{
if
(
!
ieee80211_sdata_running
(
sdata
))
if
(
!
ieee80211_sdata_running
(
sdata
)
||
sdata
->
vif
.
type
==
NL80211_IFTYPE_AP_VLAN
||
sdata
->
vif
.
type
==
NL80211_IFTYPE_MONITOR
)
continue
;
drv_remove_interface
(
local
,
sdata
);
}
...
...
This diff is collapsed.
Click to expand it.
net/wireless/reg.c
+
4
−
1
View file @
161915a0
...
...
@@ -2247,10 +2247,13 @@ int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env)
void
wiphy_regulatory_register
(
struct
wiphy
*
wiphy
)
{
struct
regulatory_request
*
lr
;
if
(
!
reg_dev_ignore_cell_hint
(
wiphy
))
reg_num_devs_support_basehint
++
;
wiphy_update_regulatory
(
wiphy
,
NL80211_REGDOM_SET_BY_CORE
);
lr
=
get_last_request
();
wiphy_update_regulatory
(
wiphy
,
lr
->
initiator
);
}
void
wiphy_regulatory_deregister
(
struct
wiphy
*
wiphy
)
...
...
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