10834db6085f1fd7af3da913423b689600e0d230
[openwrt/staging/dangole.git] /
1 From 0c7051610c577b60b01b3b5aec14d6765e177b0d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 21 Feb 2019 11:33:24 +0100
4 Subject: [PATCH] brcmfmac: fix size of the struct msgbuf_ring_status
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This updates host struct to match the in-firmawre definition. It's a
10 cosmetic change as it only applies to the reserved struct space.
11
12 Fixes: c988b78244df ("brcmfmac: print firmware reported ring status errors")
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
15 ---
16 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
20 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
21 @@ -139,7 +139,7 @@ struct msgbuf_ring_status {
22 struct msgbuf_common_hdr msg;
23 struct msgbuf_completion_hdr compl_hdr;
24 __le16 write_idx;
25 - __le32 rsvd0[5];
26 + __le16 rsvd0[5];
27 };
28
29 struct msgbuf_rx_event {