diff options
author | Dan Williams <dcbw@redhat.com> | 2009-05-22 20:03:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:09 -0400 |
commit | 75b6a61a47353fd404277ae3f2dda03af96a8c1a (patch) | |
tree | 83cbebe5ec669f8c6386dcd3dec7bd0e50487e9a /drivers/net/wireless/libertas/debugfs.c | |
parent | 5fd164e96cb9dc111f75468378de38c67b0fd161 (diff) |
libertas: restyle Marvell & IEEE TLV structure names
Easier to read and more conformant with kernel style.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r-- | drivers/net/wireless/libertas/debugfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 50e28a0cdfee..811ffc3ef414 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c | |||
@@ -183,12 +183,12 @@ out_unlock: | |||
183 | */ | 183 | */ |
184 | static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) | 184 | static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) |
185 | { | 185 | { |
186 | struct mrvlietypesheader *tlv_h; | 186 | struct mrvl_ie_header *tlv_h; |
187 | uint16_t length; | 187 | uint16_t length; |
188 | ssize_t pos = 0; | 188 | ssize_t pos = 0; |
189 | 189 | ||
190 | while (pos < size) { | 190 | while (pos < size) { |
191 | tlv_h = (struct mrvlietypesheader *) tlv; | 191 | tlv_h = (struct mrvl_ie_header *) tlv; |
192 | if (!tlv_h->len) | 192 | if (!tlv_h->len) |
193 | return NULL; | 193 | return NULL; |
194 | if (tlv_h->type == cpu_to_le16(tlv_type)) | 194 | if (tlv_h->type == cpu_to_le16(tlv_type)) |
@@ -206,7 +206,7 @@ static ssize_t lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, | |||
206 | size_t count, loff_t *ppos) | 206 | size_t count, loff_t *ppos) |
207 | { | 207 | { |
208 | struct cmd_ds_802_11_subscribe_event *subscribed; | 208 | struct cmd_ds_802_11_subscribe_event *subscribed; |
209 | struct mrvlietypes_thresholds *got; | 209 | struct mrvl_ie_thresholds *got; |
210 | struct lbs_private *priv = file->private_data; | 210 | struct lbs_private *priv = file->private_data; |
211 | ssize_t ret = 0; | 211 | ssize_t ret = 0; |
212 | size_t pos = 0; | 212 | size_t pos = 0; |
@@ -259,7 +259,7 @@ static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, | |||
259 | loff_t *ppos) | 259 | loff_t *ppos) |
260 | { | 260 | { |
261 | struct cmd_ds_802_11_subscribe_event *events; | 261 | struct cmd_ds_802_11_subscribe_event *events; |
262 | struct mrvlietypes_thresholds *tlv; | 262 | struct mrvl_ie_thresholds *tlv; |
263 | struct lbs_private *priv = file->private_data; | 263 | struct lbs_private *priv = file->private_data; |
264 | ssize_t buf_size; | 264 | ssize_t buf_size; |
265 | int value, freq, new_mask; | 265 | int value, freq, new_mask; |