From 7f5bb7042265795ef6bd76f790e5f7943cb13d7c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 3 Feb 2015 20:10:15 -0600 Subject: [PATCH] ie: Move ieee_oui to toplevel --- src/ie.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ie.c b/src/ie.c index 48c72f14..61f8ba1b 100644 --- a/src/ie.c +++ b/src/ie.c @@ -30,6 +30,8 @@ #include "ie.h" +static const uint8_t ieee_oui[3] = { 0x00, 0x0f, 0xac }; + void ie_tlv_iter_init(struct ie_tlv_iter *iter, const unsigned char *tlv, unsigned int len) { @@ -184,8 +186,6 @@ void ie_tlv_builder_finalize(struct ie_tlv_builder *builder, static bool ie_parse_cipher_suite(const uint8_t *data, enum ie_rsn_cipher_suite *out) { - static const uint8_t ieee_oui[3] = { 0x00, 0x0f, 0xac }; - /* * Compare the OUI to the ones we know. OUI Format is found in * Figure 8-187 of 802.11 @@ -226,8 +226,6 @@ static bool ie_parse_cipher_suite(const uint8_t *data, static bool ie_parse_akm_suite(const uint8_t *data, enum ie_rsn_akm_suite *out) { - static const uint8_t ieee_oui[3] = { 0x00, 0x0f, 0xac }; - /* * Compare the OUI to the ones we know. OUI Format is found in * Figure 8-187 of 802.11