---
name: "priv_to_wiphy"
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/priv_to_wiphy"
---

# priv\_to\_wiphy(9)

return the wiphy containing the priv

## NAME

priv\_to\_wiphy - return the wiphy containing the priv

## SYNOPSIS

**struct wiphy \* priv\_to\_wiphy(void \*** *priv***);**

## ARGUMENTS

*priv*

a pointer previously returned by wiphy\_priv

## RETURN

The wiphy of *priv*.

## AUTHOR

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

Author.

## COPYRIGHT
