projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[linux-2.6-microblaze.git]
/
drivers
/
net
/
wireless
/
ath
/
ath9k
/
init.c
diff --git
a/drivers/net/wireless/ath/ath9k/init.c
b/drivers/net/wireless/ath/ath9k/init.c
index
043801f
..
17c3189
100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/init.c
+++ b/
drivers/net/wireless/ath/ath9k/init.c
@@
-642,7
+642,7
@@
static int ath9k_of_init(struct ath_softc *sc)
}
mac = of_get_mac_address(np);
- if (
mac
)
+ if (
!IS_ERR(mac)
)
ether_addr_copy(common->macaddr, mac);
return 0;