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
11c72f75
Commit
11c72f75
authored
Sep 21, 2002
by
Javier Achirica
Committed by
Jeff Garzik
Sep 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
airo wireless: fix "non-probe mode" setup
parent
3c32c3e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+9
-5
No files found.
drivers/net/wireless/airo.c
View file @
11c72f75
...
@@ -1596,12 +1596,16 @@ struct net_device *init_airo_card( unsigned short irq, int port, int is_pcmcia )
...
@@ -1596,12 +1596,16 @@ struct net_device *init_airo_card( unsigned short irq, int port, int is_pcmcia )
}
}
}
}
if
(
probe
&&
setup_card
(
ai
,
dev
->
dev_addr
)
!=
SUCCESS
)
{
if
(
probe
)
{
if
(
setup_card
(
ai
,
dev
->
dev_addr
)
!=
SUCCESS
)
{
printk
(
KERN_ERR
"airo: MAC could not be enabled
\n
"
);
printk
(
KERN_ERR
"airo: MAC could not be enabled
\n
"
);
rc
=
-
EIO
;
rc
=
-
EIO
;
goto
err_out_res
;
goto
err_out_res
;
}
else
}
}
else
{
ai
->
bap_read
=
fast_bap_read
;
ai
->
bap_read
=
fast_bap_read
;
ai
->
flags
|=
FLAG_FLASHING
;
}
rc
=
register_netdev
(
dev
);
rc
=
register_netdev
(
dev
);
if
(
rc
)
if
(
rc
)
...
...
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