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 #1342 for
details.
  • Loading branch information
James Hughes authored and pelwell committed Nov 16, 2017
1 parent 246b608 commit 7275b5a
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 7275b5a

Please sign in to comment.