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
7bba1117
Commit
7bba1117
authored
Sep 15, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Use proc_net_fops_create() for /proc/net/wireless
parent
e5f747a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
net/core/wireless.c
net/core/wireless.c
+3
-8
No files found.
net/core/wireless.c
View file @
7bba1117
...
@@ -495,15 +495,10 @@ static struct file_operations wireless_seq_fops = {
...
@@ -495,15 +495,10 @@ static struct file_operations wireless_seq_fops = {
int
__init
wireless_proc_init
(
void
)
int
__init
wireless_proc_init
(
void
)
{
{
struct
proc_dir_entry
*
p
;
if
(
!
proc_net_fops_create
(
"wireless"
,
S_IRUGO
,
&
wireless_seq_fops
))
int
rc
=
0
;
return
-
ENOMEM
;
p
=
create_proc_entry
(
"wireless"
,
S_IRUGO
,
proc_net
);
return
0
;
if
(
p
)
p
->
proc_fops
=
&
wireless_seq_fops
;
else
rc
=
-
ENOMEM
;
return
rc
;
}
}
#endif
/* CONFIG_PROC_FS */
#endif
/* CONFIG_PROC_FS */
...
...
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