aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath6kl/txrx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c
index 91bbc1ffa493..dd6337142603 100644
--- a/drivers/net/wireless/ath/ath6kl/txrx.c
+++ b/drivers/net/wireless/ath/ath6kl/txrx.c
@@ -85,7 +85,7 @@ static bool ath6kl_process_uapsdq(struct ath6kl_sta *conn,
85 struct ath6kl *ar = vif->ar; 85 struct ath6kl *ar = vif->ar;
86 bool is_apsdq_empty = false; 86 bool is_apsdq_empty = false;
87 struct ethhdr *datap = (struct ethhdr *) skb->data; 87 struct ethhdr *datap = (struct ethhdr *) skb->data;
88 u8 up, traffic_class, *ip_hdr; 88 u8 up = 0, traffic_class, *ip_hdr;
89 u16 ether_type; 89 u16 ether_type;
90 struct ath6kl_llc_snap_hdr *llc_hdr; 90 struct ath6kl_llc_snap_hdr *llc_hdr;
91 91
@@ -122,8 +122,6 @@ static bool ath6kl_process_uapsdq(struct ath6kl_sta *conn,
122 if (ether_type == IP_ETHERTYPE) 122 if (ether_type == IP_ETHERTYPE)
123 up = ath6kl_wmi_determine_user_priority( 123 up = ath6kl_wmi_determine_user_priority(
124 ip_hdr, 0); 124 ip_hdr, 0);
125 } else {
126 up = 0;
127 } 125 }
128 126
129 traffic_class = ath6kl_wmi_get_traffic_class(up); 127 traffic_class = ath6kl_wmi_get_traffic_class(up);