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
bd69aac4
Commit
bd69aac4
authored
Jun 26, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o wl3501: disabling the stupid loop for now, working well...
parent
84cfc4f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
drivers/net/wireless/wl3501_cs.c
drivers/net/wireless/wl3501_cs.c
+14
-14
No files found.
drivers/net/wireless/wl3501_cs.c
View file @
bd69aac4
...
...
@@ -757,7 +757,7 @@ static int wl3501_mgmt_start(struct wl3501_card *this)
return
rc
;
}
#
define
WL3501_STUPID_LOOP
#
undef
WL3501_STUPID_LOOP
#ifdef WL3501_STUPID_LOOP
#define wl3501_loop(__cmd) \
({ int i; \
...
...
@@ -1008,6 +1008,15 @@ static int wl3501_esbq_confirm(struct wl3501_card *this)
return
tmp
&
0x80
;
}
static
void
wl3501_online
(
struct
wl3501_card
*
this
)
{
this
->
card_start
=
1
;
printk
(
KERN_INFO
"Wireless LAN On-Line. BSSID: "
"%02X %02X %02X %02X %02X %02X
\n
"
,
this
->
bssid
.
b0
,
this
->
bssid
.
b1
,
this
->
bssid
.
b2
,
this
->
bssid
.
b3
,
this
->
bssid
.
b4
,
this
->
bssid
.
b5
);
}
static
void
wl3501_esbq_confirm_done
(
struct
wl3501_card
*
this
)
{
u8
tmp
=
0
;
...
...
@@ -1081,17 +1090,13 @@ static void wl3501_mgmt_join_confirm(struct net_device *dev,
wl3501_loop
(
wl3501_mgmt_auth
(
this
));
}
}
else
{
this
->
card_start
=
1
;
i
=
this
->
join_sta_bss
;
memcpy
((
char
*
)
&
(
this
->
bssid
),
(
char
*
)
&
(
this
->
bss_set
[
i
].
bssid
),
ETH_ALEN
);
this
->
chan
=
this
->
bss_set
[
i
].
phy_pset
[
2
];
memcpy
((
char
*
)
this
->
keep_essid
,
(
char
*
)
this
->
bss_set
[
i
].
ssid
,
34
);
printk
(
KERN_INFO
"Wireless LAN On-Line Join:"
" %2X %2X %2X %2X %2X %2X
\n
"
,
this
->
bssid
.
b0
,
this
->
bssid
.
b1
,
this
->
bssid
.
b2
,
this
->
bssid
.
b3
,
this
->
bssid
.
b4
,
this
->
bssid
.
b5
);
wl3501_online
(
this
);
}
}
else
{
this
->
join_sta_bss
++
;
...
...
@@ -1230,14 +1235,9 @@ static inline void wl3501_assoc_confirm_interrupt(struct net_device *dev,
wl3501_get_from_wla
(
this
,
addr
,
&
sig
,
sizeof
(
sig
));
if
(
sig
.
status
==
WL3501_STATUS_SUCCESS
)
{
printk
(
KERN_INFO
"Wireless LAN On-Line Join:"
" %2X %2X %2X %2X %2X %2X
\n
"
,
this
->
bssid
.
b0
,
this
->
bssid
.
b1
,
this
->
bssid
.
b2
,
this
->
bssid
.
b3
,
this
->
bssid
.
b4
,
this
->
bssid
.
b5
);
this
->
card_start
=
1
;
}
else
if
(
sig
.
status
==
WL3501_STATUS_SUCCESS
)
wl3501_online
(
this
);
else
this
->
card_start
=
0
;
if
(
this
->
card_start
)
...
...
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