Moved rfc1042_header into driver_*.c that use it

No need to share such a small buffer and make hostapd.[ch] more complex
with it.
This commit is contained in:
Jouni Malinen 2009-01-09 15:06:48 +02:00 committed by Jouni Malinen
parent a2f517fb93
commit d200828b41
4 changed files with 3 additions and 4 deletions

View file

@ -42,6 +42,7 @@
#include "hostap_common.h"
#include "hw_features.h"
static const u8 rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
struct hostap_driver_data {
struct hostapd_data *hapd;

View file

@ -46,6 +46,8 @@
#define nl_handle_destroy nl_socket_free
#endif /* CONFIG_LIBNL20 */
static const u8 rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
enum ieee80211_msg_type {
ieee80211_msg_normal = 0,
ieee80211_msg_tx_callback_ack = 1,

View file

@ -59,8 +59,6 @@ struct hapd_interfaces {
struct hostapd_iface **iface;
};
unsigned char rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
extern int wpa_debug_level;
extern int wpa_debug_show_keys;

View file

@ -22,8 +22,6 @@
#include "hostapd_defs.h"
#include "config.h"
extern unsigned char rfc1042_header[6];
struct wpa_driver_ops;
struct wpa_ctrl_dst;
struct radius_server_data;