9b1fcbf197fa44ea1cab26095849a86160cc30b1
[openwrt-10.03/.git] / package / hostapd / patches / 760-eapol_qos_high_priority.patch
1 --- a/src/drivers/driver_nl80211.c
2 +++ b/src/drivers/driver_nl80211.c
3 @@ -4413,8 +4413,8 @@ static int wpa_driver_nl80211_hapd_send_
4         pos = (u8 *) (hdr + 1);
5  
6         if (qos) {
7 -               /* add an empty QoS header if needed */
8 -               pos[0] = 0;
9 +               /* Set highest priority in QoS header */
10 +               pos[0] = 7;
11                 pos[1] = 0;
12                 pos += 2;
13         }