Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259540
b: refs/heads/master
c: e59f0aa
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 6ab92cb commit fc4573c
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: 817bee1068911679b90420d7cb688ef9c73b25bd
refs/heads/master: e59f0aa71f5d2fdc144259ad80d050c02c3dc14c
7 changes: 7 additions & 0 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -4133,6 +4133,13 @@ ar6000_ready_event(void *devt, u8 *datap, u8 phyCap, u32 sw_ver, u32 abi_ver)
ar->arVersion.wlan_ver = sw_ver;
ar->arVersion.abi_ver = abi_ver;

snprintf(ar->wdev->wiphy->fw_version, sizeof(ar->wdev->wiphy->fw_version),
"%u:%u:%u:%u",
(ar->arVersion.wlan_ver & 0xf0000000) >> 28,
(ar->arVersion.wlan_ver & 0x0f000000) >> 24,
(ar->arVersion.wlan_ver & 0x00ff0000) >> 16,
(ar->arVersion.wlan_ver & 0x0000ffff));

/* Indicate to the waiting thread that the ready event was received */
ar->arWmiReady = true;
wake_up(&arEvent);
Expand Down

0 comments on commit fc4573c

Please sign in to comment.