Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b476d3f1
Commit
b476d3f1
authored
Nov 05, 2013
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
parents
353c7815
bbe09bbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
net/wireless/mlme.c
net/wireless/mlme.c
+4
-2
net/wireless/scan.c
net/wireless/scan.c
+2
-2
No files found.
net/wireless/mlme.c
View file @
b476d3f1
...
@@ -707,11 +707,13 @@ void cfg80211_dfs_channels_update_work(struct work_struct *work)
...
@@ -707,11 +707,13 @@ void cfg80211_dfs_channels_update_work(struct work_struct *work)
if
(
c
->
dfs_state
!=
NL80211_DFS_UNAVAILABLE
)
if
(
c
->
dfs_state
!=
NL80211_DFS_UNAVAILABLE
)
continue
;
continue
;
timeout
=
c
->
dfs_state_entered
+
timeout
=
c
->
dfs_state_entered
+
msecs_to_jiffies
(
IEEE80211_DFS_MIN_NOP_TIME_MS
;
IEEE80211_DFS_MIN_NOP_TIME_MS
)
;
if
(
time_after_eq
(
jiffies
,
timeout
))
{
if
(
time_after_eq
(
jiffies
,
timeout
))
{
c
->
dfs_state
=
NL80211_DFS_USABLE
;
c
->
dfs_state
=
NL80211_DFS_USABLE
;
c
->
dfs_state_entered
=
jiffies
;
cfg80211_chandef_create
(
&
chandef
,
c
,
cfg80211_chandef_create
(
&
chandef
,
c
,
NL80211_CHAN_NO_HT
);
NL80211_CHAN_NO_HT
);
...
...
net/wireless/scan.c
View file @
b476d3f1
...
@@ -254,10 +254,10 @@ void __cfg80211_sched_scan_results(struct work_struct *wk)
...
@@ -254,10 +254,10 @@ void __cfg80211_sched_scan_results(struct work_struct *wk)
rdev
=
container_of
(
wk
,
struct
cfg80211_registered_device
,
rdev
=
container_of
(
wk
,
struct
cfg80211_registered_device
,
sched_scan_results_wk
);
sched_scan_results_wk
);
request
=
rdev
->
sched_scan_req
;
rtnl_lock
();
rtnl_lock
();
request
=
rdev
->
sched_scan_req
;
/* we don't have sched_scan_req anymore if the scan is stopping */
/* we don't have sched_scan_req anymore if the scan is stopping */
if
(
request
)
{
if
(
request
)
{
if
(
request
->
flags
&
NL80211_SCAN_FLAG_FLUSH
)
{
if
(
request
->
flags
&
NL80211_SCAN_FLAG_FLUSH
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment