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
6a553775
Commit
6a553775
authored
Oct 01, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
airo wireless netdrvr: s/routine/func/ to fix build (wq-related breakage)
parent
7200860b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+6
-6
No files found.
drivers/net/wireless/airo.c
View file @
6a553775
...
...
@@ -1316,7 +1316,7 @@ static void airo_do_xmit(struct net_device *dev) {
if
(
down_trylock
(
&
priv
->
sem
)
!=
0
)
{
netif_stop_queue
(
dev
);
priv
->
xmit
.
task
.
routine
=
(
void
(
*
)(
void
*
))
airo_do_xmit
;
priv
->
xmit
.
task
.
func
=
(
void
(
*
)(
void
*
))
airo_do_xmit
;
priv
->
xmit
.
task
.
data
=
(
void
*
)
dev
;
schedule_work
(
&
priv
->
xmit
.
task
);
return
;
...
...
@@ -1378,7 +1378,7 @@ static void airo_do_xmit11(struct net_device *dev) {
if
(
down_trylock
(
&
priv
->
sem
)
!=
0
)
{
netif_stop_queue
(
dev
);
priv
->
xmit11
.
task
.
routine
=
(
void
(
*
)(
void
*
))
airo_do_xmit11
;
priv
->
xmit11
.
task
.
func
=
(
void
(
*
)(
void
*
))
airo_do_xmit11
;
priv
->
xmit11
.
task
.
data
=
(
void
*
)
dev
;
schedule_work
(
&
priv
->
xmit11
.
task
);
return
;
...
...
@@ -1464,7 +1464,7 @@ static void airo_end_promisc(struct airo_info *ai) {
completecommand
(
ai
,
&
rsp
);
up
(
&
ai
->
sem
);
}
else
{
ai
->
promisc_task
.
routine
=
(
void
(
*
)(
void
*
))
airo_end_promisc
;
ai
->
promisc_task
.
func
=
(
void
(
*
)(
void
*
))
airo_end_promisc
;
ai
->
promisc_task
.
data
=
(
void
*
)
ai
;
schedule_work
(
&
ai
->
promisc_task
);
}
...
...
@@ -1480,7 +1480,7 @@ static void airo_set_promisc(struct airo_info *ai) {
sendcommand
(
ai
,
&
cmd
);
airo_end_promisc
(
ai
);
}
else
{
ai
->
promisc_task
.
routine
=
(
void
(
*
)(
void
*
))
airo_set_promisc
;
ai
->
promisc_task
.
func
=
(
void
(
*
)(
void
*
))
airo_set_promisc
;
ai
->
promisc_task
.
data
=
(
void
*
)
ai
;
schedule_work
(
&
ai
->
promisc_task
);
}
...
...
@@ -1812,7 +1812,7 @@ static void airo_send_event(struct net_device *dev) {
/* Send event to user space */
wireless_send_event
(
dev
,
SIOCGIWAP
,
&
wrqu
,
NULL
);
}
else
{
ai
->
event_task
.
routine
=
(
void
(
*
)(
void
*
))
airo_send_event
;
ai
->
event_task
.
func
=
(
void
(
*
)(
void
*
))
airo_send_event
;
ai
->
event_task
.
data
=
(
void
*
)
dev
;
schedule_work
(
&
ai
->
event_task
);
}
...
...
@@ -1831,7 +1831,7 @@ static void airo_read_mic(struct airo_info *ai) {
micinit
(
ai
,
&
mic_rid
);
#endif
}
else
{
ai
->
mic_task
.
routine
=
(
void
(
*
)(
void
*
))
airo_read_mic
;
ai
->
mic_task
.
func
=
(
void
(
*
)(
void
*
))
airo_read_mic
;
ai
->
mic_task
.
data
=
(
void
*
)
ai
;
schedule_work
(
&
ai
->
mic_task
);
}
...
...
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