]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/agg-rx.c
Merge remote-tracking branch 'mac80211-next/master'
[karo-tx-linux.git] / net / mac80211 / agg-rx.c
index 1b8a5caa221eb6a2554a95fdfb2a53ea7f17d9c3..3a8f881b22f10c983ab354a4393157e090fd6d3a 100644 (file)
@@ -327,7 +327,7 @@ void __ieee80211_start_rx_ba_session(struct sta_info *sta,
        }
 
        /* prepare A-MPDU MLME for Rx aggregation */
-       tid_agg_rx = kmalloc(sizeof(struct tid_ampdu_rx), GFP_KERNEL);
+       tid_agg_rx = kzalloc(sizeof(*tid_agg_rx), GFP_KERNEL);
        if (!tid_agg_rx)
                goto end;