Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289986
b: refs/heads/master
c: 8e7c4e4
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 27, 2012
1 parent 05aa20e commit c01a76c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea086359a63bd0dd85c1d784d0425340649613fa
refs/heads/master: 8e7c4e4dc6e98a0d3ee4535c6b94a3ad63adad2a
3 changes: 0 additions & 3 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2180,9 +2180,6 @@ ieee80211_rx_h_mgmt_check(struct ieee80211_rx_data *rx)
if (rx->sdata->vif.type == NL80211_IFTYPE_AP &&
ieee80211_is_beacon(mgmt->frame_control) &&
!(rx->flags & IEEE80211_RX_BEACON_REPORTED)) {
struct ieee80211_rx_status *status;

status = IEEE80211_SKB_RXCB(rx->skb);
cfg80211_report_obss_beacon(rx->local->hw.wiphy,
rx->skb->data, rx->skb->len,
status->freq, GFP_ATOMIC);
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/mac80211/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
bool send_to_cooked;
bool acked;
struct ieee80211_bar *bar;
u16 tid;
int rtap_len;

for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) {
Expand Down Expand Up @@ -412,7 +411,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
}

if (!acked && ieee80211_is_back_req(fc)) {
u16 control;
u16 tid, control;

/*
* BAR failed, store the last SSN and retry sending
Expand Down Expand Up @@ -516,7 +515,8 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)

if (ieee80211_is_nullfunc(hdr->frame_control) ||
ieee80211_is_qos_nullfunc(hdr->frame_control)) {
bool acked = info->flags & IEEE80211_TX_STAT_ACK;
acked = info->flags & IEEE80211_TX_STAT_ACK;

cfg80211_probe_status(skb->dev, hdr->addr1,
cookie, acked, GFP_ATOMIC);
} else {
Expand Down

0 comments on commit c01a76c

Please sign in to comment.