---
name: "cfg80211_testmode_reply"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/cfg80211_testmode_reply"
---

# cfg80211\_testmode\_reply(9)

send the reply skb

## NAME

cfg80211\_testmode\_reply - send the reply skb

## SYNOPSIS

**int cfg80211\_testmode\_reply(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

The skb, must have been allocated with **cfg80211\_testmode\_alloc\_reply\_skb**

## DESCRIPTION

Since calling this function will usually be the last thing before returning from the *testmode\_cmd* you should return the error code. Note that this function consumes the skb regardless of the return value.

## RETURN

An error code or 0 on success.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
