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
31a5cdda
Commit
31a5cdda
authored
Jul 29, 2010
by
John W. Linville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtl8187: consolidate MSR writes in rtl8187_bss_info_changed
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
0f956e71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
drivers/net/wireless/rtl818x/rtl8187_dev.c
drivers/net/wireless/rtl818x/rtl8187_dev.c
+4
-5
No files found.
drivers/net/wireless/rtl818x/rtl8187_dev.c
View file @
31a5cdda
...
...
@@ -1176,13 +1176,12 @@ static void rtl8187_bss_info_changed(struct ieee80211_hw *dev,
else
reg
=
0
;
if
(
is_valid_ether_addr
(
info
->
bssid
))
{
if
(
is_valid_ether_addr
(
info
->
bssid
))
reg
|=
RTL818X_MSR_INFRA
;
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
reg
);
}
else
{
else
reg
|=
RTL818X_MSR_NO_LINK
;
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
reg
);
}
rtl818x_iowrite8
(
priv
,
&
priv
->
map
->
MSR
,
reg
);
mutex_unlock
(
&
priv
->
conf_mutex
);
}
...
...
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