projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e9915
)
mac80211: fix "‘ret’ may be used uninitialized" warning
author
John W. Linville
<linville@tuxdriver.com>
Mon, 12 Jan 2009 19:37:44 +0000
(14:37 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 13 Jan 2009 15:25:45 +0000
(10:25 -0500)
net/mac80211/ht.c: In function ‘ieee80211_start_tx_ba_session’:
net/mac80211/ht.c:472: warning: ‘ret’ may be used uninitialized in this function
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ht.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/ht.c
b/net/mac80211/ht.c
index 5f510a13b9f0a5679d3ed736efa927532fc18f2a..c5c0c5271096ca7ae3369c2d99b0eeafe34bd413 100644
(file)
--- a/
net/mac80211/ht.c
+++ b/
net/mac80211/ht.c
@@
-469,7
+469,7
@@
int ieee80211_start_tx_ba_session(struct ieee80211_hw *hw, u8 *ra, u16 tid)
struct ieee80211_sub_if_data *sdata;
u16 start_seq_num;
u8 *state;
- int ret;
+ int ret
= 0
;
if ((tid >= STA_TID_NUM) || !(hw->flags & IEEE80211_HW_AMPDU_AGGREGATION))
return -EINVAL;