summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-12-21 08:11:35 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-12-21 20:07:52 (GMT)
commitaef6c928a92481f75fbd548eb8c1e840912444b8 (patch)
tree69211e517ad04d83c4dad31ef2009b28010c009a /net/bluetooth/hci_conn.c
parent3aebee028aa8eb8ed49b7dbd52dfb841f6dc8dff (diff)
downloadlinux-fsl-qoriq-aef6c928a92481f75fbd548eb8c1e840912444b8.tar.xz
mac80211: Keep skb->piority for relayed frames in AP mode
When mac80211 relays a frame from STA1 to STA2 in AP mode it will get re-classified in the tx path. Unfortunately the frame protocol field is always set to ETH_P_8023 while the classification only kicks in for ETH_P_IP. Hence, a high priority frame from STA1 will be send to STA2 as best effort. Instead of running classification on the frame just use the same priority as STA1 did. Do this by adding 256 to the skb->priority to allow cfg80211_classify8021d to shortcut frame classification. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions