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
nexedi
linux
Commits
cfa6cb20
Commit
cfa6cb20
authored
Jan 06, 2010
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts: net/mac80211/scan.c net/mac80211/wme.c
parents
8271195e
8a5b33f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
net/mac80211/iface.c
net/mac80211/iface.c
+2
-2
net/mac80211/mlme.c
net/mac80211/mlme.c
+2
-2
net/mac80211/offchannel.c
net/mac80211/offchannel.c
+3
-3
No files found.
net/mac80211/iface.c
View file @
cfa6cb20
...
...
@@ -329,7 +329,7 @@ static int ieee80211_open(struct net_device *dev)
if
(
sdata
->
vif
.
type
==
NL80211_IFTYPE_STATION
)
ieee80211_queue_work
(
&
local
->
hw
,
&
sdata
->
u
.
mgd
.
work
);
netif_
start_queue
(
dev
);
netif_
tx_start_all_queues
(
dev
);
return
0
;
err_del_interface:
...
...
@@ -357,7 +357,7 @@ static int ieee80211_stop(struct net_device *dev)
/*
* Stop TX on this interface first.
*/
netif_
stop_queue
(
dev
);
netif_
tx_stop_all_queues
(
dev
);
/*
* Purge work for this interface.
...
...
net/mac80211/mlme.c
View file @
cfa6cb20
...
...
@@ -723,7 +723,7 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
ieee80211_recalc_smps
(
local
,
sdata
);
mutex_unlock
(
&
local
->
iflist_mtx
);
netif_
start_queue
(
sdata
->
dev
);
netif_
tx_start_all_queues
(
sdata
->
dev
);
netif_carrier_on
(
sdata
->
dev
);
}
...
...
@@ -759,7 +759,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata)
* time -- we don't want the scan code to enable queues.
*/
netif_
stop_queue
(
sdata
->
dev
);
netif_
tx_stop_all_queues
(
sdata
->
dev
);
netif_carrier_off
(
sdata
->
dev
);
rcu_read_lock
();
...
...
net/mac80211/offchannel.c
View file @
cfa6cb20
...
...
@@ -113,7 +113,7 @@ void ieee80211_offchannel_stop_beaconing(struct ieee80211_local *local)
*/
if
(
sdata
->
vif
.
type
!=
NL80211_IFTYPE_STATION
&&
sdata
->
vif
.
type
!=
NL80211_IFTYPE_MONITOR
)
netif_
stop_queue
(
sdata
->
dev
);
netif_
tx_stop_all_queues
(
sdata
->
dev
);
}
mutex_unlock
(
&
local
->
iflist_mtx
);
}
...
...
@@ -131,7 +131,7 @@ void ieee80211_offchannel_stop_station(struct ieee80211_local *local)
continue
;
if
(
sdata
->
vif
.
type
==
NL80211_IFTYPE_STATION
)
{
netif_
stop_queue
(
sdata
->
dev
);
netif_
tx_stop_all_queues
(
sdata
->
dev
);
if
(
sdata
->
u
.
mgd
.
associated
)
ieee80211_offchannel_ps_enable
(
sdata
);
}
...
...
@@ -153,7 +153,7 @@ void ieee80211_offchannel_return(struct ieee80211_local *local,
if
(
sdata
->
vif
.
type
==
NL80211_IFTYPE_STATION
)
{
if
(
sdata
->
u
.
mgd
.
associated
)
ieee80211_offchannel_ps_disable
(
sdata
);
netif_
wake_queue
(
sdata
->
dev
);
netif_
tx_wake_all_queues
(
sdata
->
dev
);
}
/* re-enable beaconing */
...
...
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