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
649bf178
Commit
649bf178
authored
Aug 21, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
d3b325f9
1a9937b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
drivers/net/wireless/rtl818x/rtl8187_dev.c
drivers/net/wireless/rtl818x/rtl8187_dev.c
+10
-4
No files found.
drivers/net/wireless/rtl818x/rtl8187_dev.c
View file @
649bf178
...
...
@@ -869,6 +869,9 @@ static int rtl8187b_init_hw(struct ieee80211_hw *dev)
priv
->
aifsn
[
3
]
=
3
;
/* AIFSN[AC_BE] */
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
ACM_CONTROL
,
0
);
/* ENEDCA flag must always be set, transmit issues? */
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
RTL818X_MSR_ENEDCA
);
return
0
;
}
...
...
@@ -1173,13 +1176,16 @@ static void rtl8187_bss_info_changed(struct ieee80211_hw *dev,
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
BSSID
[
i
],
info
->
bssid
[
i
]);
if
(
priv
->
is_rtl8187b
)
reg
=
RTL818X_MSR_ENEDCA
;
else
reg
=
0
;
if
(
is_valid_ether_addr
(
info
->
bssid
))
{
reg
=
RTL818X_MSR_INFRA
;
if
(
priv
->
is_rtl8187b
)
reg
|=
RTL818X_MSR_ENEDCA
;
reg
|=
RTL818X_MSR_INFRA
;
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
reg
);
}
else
{
reg
=
RTL818X_MSR_NO_LINK
;
reg
|
=
RTL818X_MSR_NO_LINK
;
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
reg
);
}
...
...
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