Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203938
b: refs/heads/master
c: ac01e94
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Jul 29, 2010
1 parent d007095 commit 6e2f7f3
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 8b28e82224321d6fdabadd7d6ddc4bd28a3b5490
refs/heads/master: ac01e948b1c27059d47249ef601036633249cb2a
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ static int wl1271_op_add_interface(struct ieee80211_hw *hw,
struct ieee80211_vif *vif)
{
struct wl1271 *wl = hw->priv;
struct wiphy *wiphy = hw->wiphy;
int retries = WL1271_BOOT_RETRIES;
int ret = 0;

Expand Down Expand Up @@ -892,6 +893,12 @@ static int wl1271_op_add_interface(struct ieee80211_hw *hw,

wl->state = WL1271_STATE_ON;
wl1271_info("firmware booted (%s)", wl->chip.fw_ver);

/* update hw/fw version info in wiphy struct */
wiphy->hw_version = wl->chip.id;
strncpy(wiphy->fw_version, wl->chip.fw_ver,
sizeof(wiphy->fw_version));

goto out;

irq_disable:
Expand Down

0 comments on commit 6e2f7f3

Please sign in to comment.