mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
return in functions
This commit is contained in:
parent
af75da8046
commit
cafc741971
1 changed files with 3 additions and 2 deletions
|
@ -22,6 +22,8 @@ static struct ubus_context *ctx_clients; /* own ubus conext otherwise strange be
|
||||||
static struct ubus_subscriber hostapd_event;
|
static struct ubus_subscriber hostapd_event;
|
||||||
static struct blob_buf b;
|
static struct blob_buf b;
|
||||||
static struct blob_buf b_send_network;
|
static struct blob_buf b_send_network;
|
||||||
|
static struct blob_buf network_buf;
|
||||||
|
static struct blob_buf data_buf;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -418,8 +420,7 @@ static int handle_deauth_req(struct blob_attr *msg) {
|
||||||
|
|
||||||
int handle_network_msg(char* msg)
|
int handle_network_msg(char* msg)
|
||||||
{
|
{
|
||||||
static struct blob_buf network_buf;
|
|
||||||
static struct blob_buf data_buf;
|
|
||||||
|
|
||||||
printf("HANDLING NETWORK MSG!\n");
|
printf("HANDLING NETWORK MSG!\n");
|
||||||
struct blob_attr *tb[__NETWORK_MAX];
|
struct blob_attr *tb[__NETWORK_MAX];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue