Skip to content

Commit

Permalink
wl18xx: fix PHY_INIT addresses mem size
Browse files Browse the repository at this point in the history
was hardcoded 252, now uses the parameters struct size.

Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Ido Reis authored and Luciano Coelho committed Jun 7, 2012
1 parent 97511b1 commit 4085f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ti/wl18xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,8 @@ static const struct wlcore_partition_set wl18xx_ptable[PART_TABLE_LEN] = {
.mem3 = { .start = 0x00000000, .size = 0x00000000 },
},
[PART_PHY_INIT] = {
/* TODO: use the phy_conf struct size here */
.mem = { .start = 0x80926000, .size = 252 },
.mem = { .start = 0x80926000,
.size = sizeof(struct wl18xx_mac_and_phy_params) },
.reg = { .start = 0x00000000, .size = 0x00000000 },
.mem2 = { .start = 0x00000000, .size = 0x00000000 },
.mem3 = { .start = 0x00000000, .size = 0x00000000 },
Expand Down

0 comments on commit 4085f64

Please sign in to comment.