Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213955
b: refs/heads/master
c: 68e887e
h: refs/heads/master
i:
  213953: a837f2c
  213951: 5c12cf6
v: v3
  • Loading branch information
John W. Linville committed Aug 16, 2010
1 parent 1f05d57 commit 3f152ae
Show file tree
Hide file tree
Showing 2 changed files with 6 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: dd358c9a45fc27f90e77992cf77117ab6e2fb467
refs/heads/master: 68e887ef21dfd9adcf896ef92a9676bf9036a0aa
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/zd1211rw/zd_chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ static void dump_fw_registers(struct zd_chip *chip)

static int print_fw_version(struct zd_chip *chip)
{
struct wiphy *wiphy = zd_chip_to_mac(chip)->hw->wiphy;
int r;
u16 version;

Expand All @@ -982,6 +983,10 @@ static int print_fw_version(struct zd_chip *chip)
return r;

dev_info(zd_chip_dev(chip),"firmware version %04hx\n", version);

snprintf(wiphy->fw_version, sizeof(wiphy->fw_version),
"%04hx", version);

return 0;
}

Expand Down

0 comments on commit 3f152ae

Please sign in to comment.