diff options
author | Henry Ptasinski <henryp@broadcom.com> | 2010-10-21 11:04:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 11:28:04 -0700 |
commit | ab3275a6b57cd42d25dc1f32123ac5d1fb438984 (patch) | |
tree | 7fb8904e9b2f078f3ba8fc3b29174be5e317c5ba /drivers/staging/brcm80211/brcmfmac | |
parent | a1c16ed2664205dd69c0ea0ec6945f7f10d3edf9 (diff) | |
download | op-kernel-dev-ab3275a6b57cd42d25dc1f32123ac5d1fb438984.zip op-kernel-dev-ab3275a6b57cd42d25dc1f32123ac5d1fb438984.tar.gz |
staging: brcm80211: Removed unnecessary pktsetprio() function.
This function is completely unnecessary, as packet classification is done
higher up in the stack. As used, the function actually mis-classifies frames
in some cases since it overwrites the classification done by the stack.
Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac')
-rw-r--r-- | drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index e2bc13d..e535787 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c @@ -1039,10 +1039,6 @@ int dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf) atomic_inc(&dhd->pend_8021x_cnt); } - /* Look into the packet and update the packet priority */ - if ((PKTPRIO(pktbuf) == 0)) - pktsetprio(pktbuf, false); - /* If the protocol uses a data header, apply it */ dhd_prot_hdrpush(dhdp, ifidx, pktbuf); |