aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_defs.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-11-26 09:39:29 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-26 09:39:29 (GMT)
commit96750ea5e549a3c6ae9b6b8114b43408ae5705aa (patch)
treeb55191b4650f27a48e28fc7f5f97b6ce2ad7bb44 /src/wps/wps_defs.h
parent8e2c104fa148c02da21fd87712a697ba6522a8b4 (diff)
downloadhostap-96750ea5e549a3c6ae9b6b8114b43408ae5705aa.zip
hostap-96750ea5e549a3c6ae9b6b8114b43408ae5705aa.tar.gz
hostap-96750ea5e549a3c6ae9b6b8114b43408ae5705aa.tar.bz2
WPS: Clean up Primary Device Type handling
Use shared functions for converting Primary Device Type between binary and string formats. In addition, use array of eight octets instead of a specific structure with multiple fields to reduce code complexity.
Diffstat (limited to 'src/wps/wps_defs.h')
-rw-r--r--src/wps/wps_defs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wps/wps_defs.h b/src/wps/wps_defs.h
index ab9536a..ae8eb8a 100644
--- a/src/wps/wps_defs.h
+++ b/src/wps/wps_defs.h
@@ -232,13 +232,6 @@ enum wps_assoc_state {
};
-/* Primary Device Type */
-struct wps_dev_type {
- u8 categ_id[2];
- u8 oui[4];
- u8 sub_categ_id[2];
-};
-
#define WPS_DEV_OUI_WFA 0x0050f204
enum wps_dev_categ {