---
name: "cfg80211_disconnected"
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_disconnected"
---

# cfg80211\_disconnected(9)

notify cfg80211 that connection was dropped

## NAME

cfg80211\_disconnected - notify cfg80211 that connection was dropped

## SYNOPSIS

**void cfg80211\_disconnected(struct net\_device \*** *dev***, u16** *reason***, const u8 \*** *ie***, size\_t** *ie\_len***, gfp\_t** *gfp***);**

## ARGUMENTS

*dev*

network device

*reason*

reason code for the disconnection, set it to 0 if unknown

*ie*

information elements of the deauth/disassoc frame (may be **NULL**)

*ie\_len*

length of IEs

*gfp*

allocation flags

## DESCRIPTION

After it calls this function, the driver should enter an idle state and not try to connect to any AP any more.

## AUTHOR

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

Author.

## COPYRIGHT
