aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/offchannel.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-12-22 09:22:12 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-22 09:22:12 (GMT)
commit2f3101d8df9a6044d7af428b1bc2936cbec3195e (patch)
tree51c8c246b6bf2f5f0cd3d3b8decf6553cc327c4d /wpa_supplicant/offchannel.h
parentb4419c62ad267c813a7d81389417bb75113d5bbf (diff)
downloadhostap-2f3101d8df9a6044d7af428b1bc2936cbec3195e.zip
hostap-2f3101d8df9a6044d7af428b1bc2936cbec3195e.tar.gz
hostap-2f3101d8df9a6044d7af428b1bc2936cbec3195e.tar.bz2
Move some P2P offchannel operations to offchannel.c
There is no need for p2p_supplicant.c to access wpa_s->pending_action_tx so move these references to offchannel.c to get a bit cleaner interface between the components. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/offchannel.h')
-rw-r--r--wpa_supplicant/offchannel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/offchannel.h b/wpa_supplicant/offchannel.h
index 1d3948c..0ad7e18 100644
--- a/wpa_supplicant/offchannel.h
+++ b/wpa_supplicant/offchannel.h
@@ -29,5 +29,7 @@ void offchannel_deinit(struct wpa_supplicant *wpa_s);
void offchannel_send_action_tx_status(
struct wpa_supplicant *wpa_s, const u8 *dst, const u8 *data,
size_t data_len, enum offchannel_send_action_result result);
+const void * offchannel_pending_action_tx(struct wpa_supplicant *wpa_s);
+void offchannel_clear_pending_action_tx(struct wpa_supplicant *wpa_s);
#endif /* OFFCHANNEL_H */