nl80211: Fix CONFIG_TDLS=y build

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-12-12 16:32:07 +02:00
parent 457a126e29
commit aa543c0c33

View file

@ -2997,7 +2997,7 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
#ifdef CONFIG_TDLS #ifdef CONFIG_TDLS
if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) {
/* TDLS Discovery Response */ /* TDLS Discovery Response */
if (nl80211_register_action_frame(drv, (u8 *) "\x04\x0e", 2) < if (nl80211_register_action_frame(bss, (u8 *) "\x04\x0e", 2) <
0) 0)
return -1; return -1;
} }