Patchwork [RFC,2/4] add struct hostapd_sta_wpa_psk_short

login
register
mail settings
Submitter michael-dev@fami-braun.de
Date Aug. 26, 2012, 3:27 p.m.
Message ID <20120826152657.9572.94796.stgit@localhost6.localdomain6>
Download mbox | patch
Permalink /patch/180065/
State Superseded
Headers show

Comments

michael-dev@fami-braun.de - Aug. 26, 2012, 3:27 p.m.
This adds struct hostapd_sta_wpa_psk_short, a linked list of PSK entries without metadata.


---
 0 files changed

Patch

diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index 13f7255..dba3a39 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -96,6 +96,11 @@  struct hostapd_vlan {
 };
 
 #define PMK_LEN 32
+struct hostapd_sta_wpa_psk_short {
+	struct hostapd_sta_wpa_psk_short *next;
+	u8 psk[PMK_LEN];
+};
+
 struct hostapd_wpa_psk {
 	struct hostapd_wpa_psk *next;
 	int group;