|
@@ -1325,7 +1325,7 @@ static void ieee80211_sta_process_addba_request(struct net_device *dev,
|
|
|
|
|
|
/* prepare reordering buffer */
|
|
|
tid_agg_rx->reorder_buf =
|
|
|
- kmalloc(buf_size * sizeof(struct sk_buf *), GFP_ATOMIC);
|
|
|
+ kmalloc(buf_size * sizeof(struct sk_buff *), GFP_ATOMIC);
|
|
|
if (!tid_agg_rx->reorder_buf) {
|
|
|
if (net_ratelimit())
|
|
|
printk(KERN_ERR "can not allocate reordering buffer "
|
|
@@ -1334,7 +1334,7 @@ static void ieee80211_sta_process_addba_request(struct net_device *dev,
|
|
|
goto end;
|
|
|
}
|
|
|
memset(tid_agg_rx->reorder_buf, 0,
|
|
|
- buf_size * sizeof(struct sk_buf *));
|
|
|
+ buf_size * sizeof(struct sk_buff *));
|
|
|
|
|
|
if (local->ops->ampdu_action)
|
|
|
ret = local->ops->ampdu_action(hw, IEEE80211_AMPDU_RX_START,
|