---
name: "cfg80211_connect_result"
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_connect_result"
---

# cfg80211\_connect\_result(9)

notify cfg80211 of connection result

## NAME

cfg80211\_connect\_result - notify cfg80211 of connection result

## SYNOPSIS

**void cfg80211\_connect\_result(struct net\_device \*** *dev***, const u8 \*** *bssid***, const u8 \*** *req\_ie***, size\_t** *req\_ie\_len***, const u8 \*** *resp\_ie***, size\_t** *resp\_ie\_len***, u16** *status***, gfp\_t** *gfp***);**

## ARGUMENTS

*dev*

network device

*bssid*

the BSSID of the AP

*req\_ie*

association request IEs (maybe be **NULL**)

*req\_ie\_len*

association request IEs length

*resp\_ie*

association response IEs (may be **NULL**)

*resp\_ie\_len*

assoc response IEs length

*status*

status code, 0 for successful connection, use **WLAN\_STATUS\_UNSPECIFIED\_FAILURE** if your device cannot give you the real status code for failures.

*gfp*

allocation flags

## DESCRIPTION

It should be called by the underlying driver whenever **connect** has succeeded.

## AUTHOR

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

Author.

## COPYRIGHT
