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
cbeabc5c
Commit
cbeabc5c
authored
Aug 07, 2003
by
Javier Achirica
Committed by
Jeff Garzik
Aug 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr airo] add missing lines for Wireless Extensions 16
parent
bf761611
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+5
-1
No files found.
drivers/net/wireless/airo.c
View file @
cbeabc5c
...
@@ -1043,11 +1043,15 @@ struct airo_info {
...
@@ -1043,11 +1043,15 @@ struct airo_info {
struct
iw_statistics
wstats
;
// wireless stats
struct
iw_statistics
wstats
;
// wireless stats
unsigned
long
scan_timestamp
;
/* Time started to scan */
unsigned
long
scan_timestamp
;
/* Time started to scan */
struct
work_struct
event_task
;
struct
work_struct
event_task
;
#if WIRELESS_EXT > 15
struct
iw_spy_data
spy_data
;
#else
/* WIRELESS_EXT > 15 */
#ifdef WIRELESS_SPY
#ifdef WIRELESS_SPY
int
spy_number
;
int
spy_number
;
u_char
spy_address
[
IW_MAX_SPY
][
ETH_ALEN
];
u_char
spy_address
[
IW_MAX_SPY
][
ETH_ALEN
];
struct
iw_quality
spy_stat
[
IW_MAX_SPY
];
struct
iw_quality
spy_stat
[
IW_MAX_SPY
];
#endif
/* WIRELESS_SPY */
#endif
/* WIRELESS_SPY */
#endif
/* WIRELESS_EXT > 15 */
#endif
/* WIRELESS_EXT */
#endif
/* WIRELESS_EXT */
/* MIC stuff */
/* MIC stuff */
mic_module
mod
[
2
];
mic_module
mod
[
2
];
...
@@ -5286,7 +5290,7 @@ static inline char *airo_translate_scan(struct net_device *dev,
...
@@ -5286,7 +5290,7 @@ static inline char *airo_translate_scan(struct net_device *dev,
capabilities
=
le16_to_cpu
(
list
->
cap
);
capabilities
=
le16_to_cpu
(
list
->
cap
);
if
(
capabilities
&
(
CAP_ESS
|
CAP_IBSS
))
{
if
(
capabilities
&
(
CAP_ESS
|
CAP_IBSS
))
{
if
(
capabilities
&
CAP_ESS
)
if
(
capabilities
&
CAP_ESS
)
iwe
.
u
.
mode
=
IW_MODE_
INFRA
;
iwe
.
u
.
mode
=
IW_MODE_
MASTER
;
else
else
iwe
.
u
.
mode
=
IW_MODE_ADHOC
;
iwe
.
u
.
mode
=
IW_MODE_ADHOC
;
current_ev
=
iwe_stream_add_event
(
current_ev
,
end_buf
,
&
iwe
,
IW_EV_UINT_LEN
);
current_ev
=
iwe_stream_add_event
(
current_ev
,
end_buf
,
&
iwe
,
IW_EV_UINT_LEN
);
...
...
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