Skip to content

Commit

Permalink
Sets the BCDC priority to constant 0
Browse files Browse the repository at this point in the history
This is to workaround for a possible issue in the
wireless chip firmware where some packets with
higher priorities seem to go missing.

See raspberrypi/linux#1342 for
details.

Signed-off-by: Seth Forshee <[email protected]>
  • Loading branch information
James Hughes authored and Seth Forshee committed Jul 31, 2017
1 parent 87b9bad commit 2ea7c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ brcmf_proto_bcdc_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset,
if (pktbuf->ip_summed == CHECKSUM_PARTIAL)
h->flags |= BCDC_FLAG_SUM_NEEDED;

h->priority = (pktbuf->priority & BCDC_PRIORITY_MASK);
h->priority = 0;
h->flags2 = 0;
h->data_offset = offset;
BCDC_SET_IF_IDX(h, ifidx);
Expand Down

0 comments on commit 2ea7c4e

Please sign in to comment.