Commit 9cbdadf0 authored by Po-Hao Huang's avatar Po-Hao Huang Committed by Kalle Valo

rtw88: fix uninitialized 'tim_offset' warning

This avoids below warning and makes compiler happy.
error: uninitialized symbol 'tim_offset'
Signed-off-by: default avatarPo-Hao Huang <phhuang@realtek.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220420093058.31646-1-pkshih@realtek.com
parent c94e3690
...@@ -1047,7 +1047,7 @@ static struct sk_buff *rtw_get_rsvd_page_skb(struct ieee80211_hw *hw, ...@@ -1047,7 +1047,7 @@ static struct sk_buff *rtw_get_rsvd_page_skb(struct ieee80211_hw *hw,
struct rtw_vif *rtwvif; struct rtw_vif *rtwvif;
struct sk_buff *skb_new; struct sk_buff *skb_new;
struct cfg80211_ssid *ssid; struct cfg80211_ssid *ssid;
u16 tim_offset; u16 tim_offset = 0;
if (rsvd_pkt->type == RSVD_DUMMY) { if (rsvd_pkt->type == RSVD_DUMMY) {
skb_new = alloc_skb(1, GFP_KERNEL); skb_new = alloc_skb(1, GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment