|
@@ -128,7 +128,7 @@ void ieee80211_send_bar(struct ieee80211_sub_if_data *sdata, u8 *ra, u16 tid, u1
|
|
|
memcpy(bar->ta, sdata->vif.addr, ETH_ALEN);
|
|
memcpy(bar->ta, sdata->vif.addr, ETH_ALEN);
|
|
|
bar_control |= (u16)IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL;
|
|
bar_control |= (u16)IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL;
|
|
|
bar_control |= (u16)IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA;
|
|
bar_control |= (u16)IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA;
|
|
|
- bar_control |= (u16)(tid << 12);
|
|
|
|
|
|
|
+ bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT);
|
|
|
bar->control = cpu_to_le16(bar_control);
|
|
bar->control = cpu_to_le16(bar_control);
|
|
|
bar->start_seq_num = cpu_to_le16(ssn);
|
|
bar->start_seq_num = cpu_to_le16(ssn);
|
|
|
|
|
|