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
wifi: ath12k: Fix uninitialized use of ret in ath12k_mac_allocate()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
wireless
/
ath
/
ath12k
/
mac.c
diff --git
a/drivers/net/wireless/ath/ath12k/mac.c
b/drivers/net/wireless/ath/ath12k/mac.c
index
a3b002d
..
a737a09
100644
(file)
--- a/
drivers/net/wireless/ath/ath12k/mac.c
+++ b/
drivers/net/wireless/ath/ath12k/mac.c
@@
-8302,6
+8302,7
@@
int ath12k_mac_allocate(struct ath12k_base *ab)
if (!ah) {
ath12k_warn(ab, "failed to allocate mac80211 hw device for hw_idx %d\n",
i);
+ ret = -ENOMEM;
goto err;
}