]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/wnm_sta.c
dbus: Export BSS Transition Management status
[thirdparty/hostap.git] / wpa_supplicant / wnm_sta.c
index 560b0712826e178b0325ba2222e72aff7f016765..22a21361ad8a47a3bb9f33536373140afc9e2c45 100644 (file)
@@ -21,6 +21,7 @@
 #include "ctrl_iface.h"
 #include "bss.h"
 #include "wnm_sta.h"
+#include "notify.h"
 #include "hs20_supplicant.h"
 
 #define MAX_TFS_IE_LEN  1024
@@ -1015,6 +1016,9 @@ static void wnm_send_bss_transition_mgmt_resp(
                return;
        }
 
+       wpa_s->bss_tm_status = status;
+       wpas_notify_bss_tm_status(wpa_s);
+
        wpabuf_put_u8(buf, WLAN_ACTION_WNM);
        wpabuf_put_u8(buf, WNM_BSS_TRANS_MGMT_RESP);
        wpabuf_put_u8(buf, dialog_token);