Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf00f379 authored by John W. Linville's avatar John W. Linville
Browse files

wl12xx: silence tx_attr uninitialized warning in wl1271_tx_fill_hdr



  CC [M]  drivers/net/wireless/wl12xx/tx.o
drivers/net/wireless/wl12xx/tx.c: In function ‘wl1271_tx_fill_hdr’:
drivers/net/wireless/wl12xx/tx.c:288:6: warning: ‘tx_attr’ may be used uninitialized in this function

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f589cf4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ static void wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif,
	struct wl1271_tx_hw_descr *desc;
	int aligned_len, ac, rate_idx;
	s64 hosttime;
	u16 tx_attr;
	u16 tx_attr = 0;
	bool is_dummy;

	desc = (struct wl1271_tx_hw_descr *) skb->data;