]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Fix CONFIG_TDLS=y build
authorJouni Malinen <j@w1.fi>
Mon, 12 Dec 2011 14:32:07 +0000 (16:32 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 12 Dec 2011 14:32:07 +0000 (16:32 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/drivers/driver_nl80211.c

index a797a3ebe3d29e4de958df732caeec03d7f2c5aa..ed279c600322c69c1cff9aa9744601b1107040fa 100644 (file)
@@ -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;
        }