|
@@ -1036,6 +1036,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
|
|
info = IEEE80211_SKB_CB(skb);
|
|
info = IEEE80211_SKB_CB(skb);
|
|
if (info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ) {
|
|
if (info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ) {
|
|
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)mgmt_hdr;
|
|
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)mgmt_hdr;
|
|
|
|
+
|
|
hdr->duration_id = 0;
|
|
hdr->duration_id = 0;
|
|
hdr->seq_ctrl = cpu_to_le16(priv->seq_counter << 4);
|
|
hdr->seq_ctrl = cpu_to_le16(priv->seq_counter << 4);
|
|
}
|
|
}
|