aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-12 14:32:07 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-12 14:32:07 (GMT)
commitaa543c0c33cb4f6ad2f3ca3e3f6c30a1e0ebf535 (patch)
tree0a02227e8d3b9e072987c29bc6d50f2a9207097f /src
parent457a126e298895682b5e9a0bbec60e2fa3aa16e5 (diff)
downloadhostap-aa543c0c33cb4f6ad2f3ca3e3f6c30a1e0ebf535.zip
hostap-aa543c0c33cb4f6ad2f3ca3e3f6c30a1e0ebf535.tar.gz
hostap-aa543c0c33cb4f6ad2f3ca3e3f6c30a1e0ebf535.tar.bz2
nl80211: Fix CONFIG_TDLS=y build
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index a797a3e..ed279c6 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -2997,7 +2997,7 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
#ifdef CONFIG_TDLS
if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) {
/* TDLS Discovery Response */
- if (nl80211_register_action_frame(drv, (u8 *) "\x04\x0e", 2) <
+ if (nl80211_register_action_frame(bss, (u8 *) "\x04\x0e", 2) <
0)
return -1;
}