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