Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266600
b: refs/heads/master
c: 8a13748
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo committed Sep 16, 2011
1 parent 414768d commit b15acbe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 639d0b8996aa5913402b846932d57a51a23a40c9
refs/heads/master: 8a13748034e93b4134455ebf51e2fada8eb00aca
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ enum ath6kl_fw_ie_type {
ATH6KL_FW_IE_OTP_IMAGE = 2,
ATH6KL_FW_IE_FW_IMAGE = 3,
ATH6KL_FW_IE_PATCH_IMAGE = 4,
ATH6KL_FW_IE_RESERVED_RAM_SIZE = 5,
};

struct ath6kl_fw_ie {
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,7 @@ static int ath6kl_fetch_fw_api2(struct ath6kl *ar)
const char *filename;
const u8 *data;
int ret, ie_id;
__le32 *val;

switch (ar->version.target_ver) {
case AR6003_REV2_VERSION:
Expand Down Expand Up @@ -987,6 +988,10 @@ static int ath6kl_fetch_fw_api2(struct ath6kl *ar)

ar->fw_patch_len = ie_len;
break;
case ATH6KL_FW_IE_RESERVED_RAM_SIZE:
val = (__le32 *) data;
ar->hw.reserved_ram_size = le32_to_cpup(val);
break;
default:
ath6kl_dbg(ATH6KL_DBG_TRC, "Unknown fw ie: %u\n",
le32_to_cpup(&hdr->id));
Expand Down

0 comments on commit b15acbe

Please sign in to comment.