From 4d90f81f910973cba75bbe0f506bd63ff659f981 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Tue, 2 Oct 2007 12:17:56 +0200 Subject: [PATCH] --- yaml --- r: 66895 b: refs/heads/master c: 5ecc2a5d3e3c39535d2cc10dad15853e9e9b072d h: refs/heads/master i: 66893: 8363e3c260fee76323b88c341db5c64ae4f9c04a 66891: 941176ecf74c8164a58dc140108193e858096f00 66887: 0db1b6c3b10b1e4019c1c96f8ebcd82849c35205 66879: 256695430950bd28a4fa97b0576c5f1d3eac99f2 v: v3 --- [refs] | 2 +- trunk/include/net/mac80211.h | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 3bc43c215130..09a088c9b93a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 478f8d2ba56b40ad1c17e21c1503669b83c96e8e +refs/heads/master: 5ecc2a5d3e3c39535d2cc10dad15853e9e9b072d diff --git a/trunk/include/net/mac80211.h b/trunk/include/net/mac80211.h index 9bc03f053af0..5fcc4c104340 100644 --- a/trunk/include/net/mac80211.h +++ b/trunk/include/net/mac80211.h @@ -996,7 +996,14 @@ enum ieee80211_erp_change_flags { * * @beacon_update: Setup beacon data for IBSS beacons. Unlike access point, * IBSS uses a fixed beacon frame which is configured using this - * function. This handler is required only for IBSS mode. + * function. + * If the driver returns success (0) from this callback, it owns + * the skb. That means the driver is responsible to kfree_skb() it. + * The control structure is not dynamically allocated. That means the + * driver does not own the pointer and if it needs it somewhere + * outside of the context of this function, it must copy it + * somewhere else. + * This handler is required only for IBSS mode. * * @tx_last_beacon: Determine whether the last IBSS beacon was sent by us. * This is needed only for IBSS mode and the result of this function is