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
beabe914
Commit
beabe914
authored
Jul 14, 2010
by
John W. Linville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libertas: convert new uses of __attribute__ ((packed)) to __packed
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
b3f194e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/cfg.c
+3
-3
drivers/net/wireless/libertas/host.h
drivers/net/wireless/libertas/host.h
+3
-3
No files found.
drivers/net/wireless/libertas/cfg.c
View file @
beabe914
...
...
@@ -891,7 +891,7 @@ struct cmd_key_material {
__le16
action
;
struct
MrvlIEtype_keyParamSet
param
;
}
__
attribute__
((
packed
))
;
}
__
packed
;
static
int
lbs_set_key_material
(
struct
lbs_private
*
priv
,
int
key_type
,
...
...
@@ -1395,7 +1395,7 @@ struct cmd_monitor_mode {
__le16
action
;
__le16
mode
;
}
__
attribute__
((
packed
))
;
}
__
packed
;
static
int
lbs_enable_monitor_mode
(
struct
lbs_private
*
priv
,
int
mode
)
{
...
...
@@ -1450,7 +1450,7 @@ struct cmd_rssi {
__le16
nf
;
__le16
avg_snr
;
__le16
avg_nf
;
}
__
attribute__
((
packed
))
;
}
__
packed
;
static
int
lbs_get_signal
(
struct
lbs_private
*
priv
,
s8
*
signal
,
s8
*
noise
)
{
...
...
drivers/net/wireless/libertas/host.h
View file @
beabe914
...
...
@@ -398,12 +398,12 @@ struct mrvl_ie_domain_param_set {
u8
countrycode
[
COUNTRY_CODE_LEN
];
struct
ieee80211_country_ie_triplet
triplet
[
1
];
}
__
attribute__
((
packed
))
;
}
__
packed
;
struct
cmd_ds_802_11d_domain_info
{
__le16
action
;
struct
mrvl_ie_domain_param_set
domain
;
}
__
attribute__
((
packed
))
;
}
__
packed
;
struct
lbs_802_11d_domain_reg
{
/** Country code*/
...
...
@@ -411,7 +411,7 @@ struct lbs_802_11d_domain_reg {
/** No. of triplet*/
u8
no_triplet
;
struct
ieee80211_country_ie_triplet
triplet
[
MRVDRV_MAX_TRIPLET_802_11D
];
}
__
attribute__
((
packed
))
;
}
__
packed
;
/*
* Define data structure for CMD_GET_HW_SPEC
...
...
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