Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134172
b: refs/heads/master
c: e964817
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and John W. Linville committed Jan 29, 2009
1 parent 96557b8 commit 7050916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 672cf3cefe5f686637dec72b9f3d21fe1cdc8c94
refs/heads/master: e9648179706448d50884f172711b00a6e5ab9e42
4 changes: 1 addition & 3 deletions trunk/net/mac80211/ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,

/* prepare reordering buffer */
tid_agg_rx->reorder_buf =
kmalloc(buf_size * sizeof(struct sk_buff *), GFP_ATOMIC);
kcalloc(buf_size, sizeof(struct sk_buff *), GFP_ATOMIC);
if (!tid_agg_rx->reorder_buf) {
#ifdef CONFIG_MAC80211_HT_DEBUG
if (net_ratelimit())
Expand All @@ -960,8 +960,6 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
kfree(sta->ampdu_mlme.tid_rx[tid]);
goto end;
}
memset(tid_agg_rx->reorder_buf, 0,
buf_size * sizeof(struct sk_buff *));

if (local->ops->ampdu_action)
ret = local->ops->ampdu_action(hw, IEEE80211_AMPDU_RX_START,
Expand Down

0 comments on commit 7050916

Please sign in to comment.