]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/mesh_plink.c
mac80211: add the action to the drv_ampdu_action tracepoint
[karo-tx-linux.git] / net / mac80211 / mesh_plink.c
index 1131cd504a15ef5fa507c37c8a5464aac173321f..82cfd232a25eb39081ae594699e8924dd160399e 100644 (file)
@@ -264,8 +264,7 @@ static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata,
                band = sband->band;
 
                /* capability info */
-               pos = skb_put(skb, 2);
-               memset(pos, 0, 2);
+               pos = skb_put_zero(skb, 2);
                if (action == WLAN_SP_MESH_PEERING_CONFIRM) {
                        /* AID */
                        pos = skb_put(skb, 2);