projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f427dd
)
ath9k: Initialize ah->hw
author
Ben Greear
<greearb@candelatech.com>
Mon, 10 Jan 2011 07:11:44 +0000
(23:11 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 21 Jan 2011 20:32:21 +0000
(15:32 -0500)
Previous code left it NULL.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/init.c
b/drivers/net/wireless/ath/ath9k/init.c
index 767d8b86f1e11992decc0b43ef8ffba9917b7aa2..23b299818b18dc71f1b6fe80bba1d03c694b88b7 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/init.c
+++ b/
drivers/net/wireless/ath/ath9k/init.c
@@
-537,6
+537,7
@@
static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
if (!ah)
return -ENOMEM;
+ ah->hw = sc->hw;
ah->hw_version.devid = devid;
ah->hw_version.subsysid = subsysid;
sc->sc_ah = ah;