Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194993
b: refs/heads/master
c: 554d720
h: refs/heads/master
i:
  194991: 9295565
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed May 7, 2010
1 parent 2bcdf27 commit a003940
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d717fd6188b2ea63cf9dc0a870fd312c312841cd
refs/heads/master: 554d7209c87a7b7ec70c14d9ed1c01e05f5dbc23
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ struct wl1271 {
struct wl1271_stats stats;
struct wl1271_debugfs debugfs;

u32 buffer_32;
__le32 buffer_32;
u32 buffer_cmd;
u32 buffer_busyword[WL1271_BUSY_WORD_CNT];

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ static inline u32 wl1271_raw_read32(struct wl1271 *wl, int addr)
wl1271_raw_read(wl, addr, &wl->buffer_32,
sizeof(wl->buffer_32), false);

return wl->buffer_32;
return le32_to_cpu(wl->buffer_32);
}

static inline void wl1271_raw_write32(struct wl1271 *wl, int addr, u32 val)
{
wl->buffer_32 = val;
wl->buffer_32 = cpu_to_le32(val);
wl1271_raw_write(wl, addr, &wl->buffer_32,
sizeof(wl->buffer_32), false);
}
Expand Down

0 comments on commit a003940

Please sign in to comment.