[PATCH] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-03-30 Thread per . forlin
From: Per Forlin The pend_8021x_cnt gets into a state where it's not being decreased. When the brcmf_netdev_wait_pend8021x is called it will timeout because there are no pending packets to be consumed. There is no easy way of getting out of this state once it has happened. Preventing the co

[PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-05 Thread per . forlin
From: Per Forlin The pend_8021x_cnt gets into a state where it's not being decreased. When the brcmf_netdev_wait_pend8021x is called it will timeout because there are no pending packets to be consumed. There is no easy way of getting out of this state once it has happened. Preventing the co

[PATCH v3] brcmfmac: Decrease 8021x_cnt for dropped packets

2016-04-12 Thread per . forlin
From: Per Forlin This patch resolves an issue where pend_8021x_cnt was not decreased on txfinalize. This caused brcmf_netdev_wait_pend8021x to timeout because the counter indicated pending packets. WARNING: at .../brcmfmac/core.c:1289 brcmf_netdev_wait_pend8021x (warn_slowpath_common

[PATCH v4] brcmfmac: Decrease 8021x_cnt for dropped packets

2016-04-12 Thread per . forlin
From: Per Forlin This patch resolves an issue where pend_8021x_cnt was not decreased on txfinalize. This caused brcmf_netdev_wait_pend8021x to timeout because the counter indicated pending packets. WARNING: at .../brcmfmac/core.c:1289 brcmf_netdev_wait_pend8021x (warn_slowpath_common

[PATCH v3] brcmfmac: Decrease 8021x_cnt for dropped packets

2016-04-13 Thread per . forlin
From: Per Forlin This patch resolves an issue where pend_8021x_cnt was not decreased on txfinalize. This caused brcmf_netdev_wait_pend8021x to timeout because the counter indicated pending packets. WARNING: at .../brcmfmac/core.c:1289 brcmf_netdev_wait_pend8021x (warn_slowpath_common

[PATCH] brcmf: Fix null pointer exception in bcdc_hdrpull

2016-04-17 Thread per . forlin
From: Per Forlin In fwsignal.c: brcmf_fws_commit_skb() ... if (rc < 0) { entry->transit_count--; if (entry->suppressed) entry->suppr_transit_count--; (void)brcmf_proto_hdrpull(fws->drvr, false, skb, NULL); ^