diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/prism54/oid_mgt.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/spectrum_cs.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c index eea2f04c8c6d..ebb238785839 100644 --- a/drivers/net/wireless/prism54/oid_mgt.c +++ b/drivers/net/wireless/prism54/oid_mgt.c | |||
@@ -332,7 +332,7 @@ mgt_le_to_cpu(int type, void *data) | |||
332 | case OID_TYPE_ATTACH:{ | 332 | case OID_TYPE_ATTACH:{ |
333 | struct obj_attachment *attach = data; | 333 | struct obj_attachment *attach = data; |
334 | attach->id = le16_to_cpu(attach->id); | 334 | attach->id = le16_to_cpu(attach->id); |
335 | attach->size = le16_to_cpu(attach->size);; | 335 | attach->size = le16_to_cpu(attach->size); |
336 | break; | 336 | break; |
337 | } | 337 | } |
338 | case OID_TYPE_SSID: | 338 | case OID_TYPE_SSID: |
@@ -401,7 +401,7 @@ mgt_cpu_to_le(int type, void *data) | |||
401 | case OID_TYPE_ATTACH:{ | 401 | case OID_TYPE_ATTACH:{ |
402 | struct obj_attachment *attach = data; | 402 | struct obj_attachment *attach = data; |
403 | attach->id = cpu_to_le16(attach->id); | 403 | attach->id = cpu_to_le16(attach->id); |
404 | attach->size = cpu_to_le16(attach->size);; | 404 | attach->size = cpu_to_le16(attach->size); |
405 | break; | 405 | break; |
406 | } | 406 | } |
407 | case OID_TYPE_SSID: | 407 | case OID_TYPE_SSID: |
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c index fee4be1ce810..5fa6fbe35bb9 100644 --- a/drivers/net/wireless/spectrum_cs.c +++ b/drivers/net/wireless/spectrum_cs.c | |||
@@ -147,7 +147,7 @@ struct pdi { | |||
147 | __le16 _len; /* length of ID and data, in words */ | 147 | __le16 _len; /* length of ID and data, in words */ |
148 | __le16 _id; /* record ID */ | 148 | __le16 _id; /* record ID */ |
149 | char data[0]; /* plug data */ | 149 | char data[0]; /* plug data */ |
150 | } __attribute__ ((packed));; | 150 | } __attribute__ ((packed)); |
151 | 151 | ||
152 | 152 | ||
153 | /* Functions for access to little-endian data */ | 153 | /* Functions for access to little-endian data */ |