Commit 6188c271 authored by Liad Kaufman's avatar Liad Kaufman Committed by Johannes Berg

mac80211: fix description comment of ieee80211_subif_start_xmit

The function description claimed that on error the skb isn't
freed even though it is, and stated return values that are
different than what really happens in the code.
Signed-off-by: default avatarLiad Kaufman <liad.kaufman@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2740f0cf
...@@ -1789,9 +1789,8 @@ static void ieee80211_tx_latency_start_msrmnt(struct ieee80211_local *local, ...@@ -1789,9 +1789,8 @@ static void ieee80211_tx_latency_start_msrmnt(struct ieee80211_local *local,
* @skb: packet to be sent * @skb: packet to be sent
* @dev: incoming interface * @dev: incoming interface
* *
* Returns: 0 on success (and frees skb in this case) or 1 on failure (skb will * Returns: NETDEV_TX_OK both on success and on failure. On failure skb will
* not be freed, and caller is responsible for either retrying later or freeing * be freed.
* skb).
* *
* This function takes in an Ethernet header and encapsulates it with suitable * This function takes in an Ethernet header and encapsulates it with suitable
* IEEE 802.11 header based on which interface the packet is coming in. The * IEEE 802.11 header based on which interface the packet is coming in. The
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment