mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 02:11:28 +00:00
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
From 3d7534f5105287759d50e68158ce77e09ae10b5b Mon Sep 17 00:00:00 2001
|
|
From: Karthikeyan Kathirvel <kathirve@codeaurora.org>
|
|
Date: Tue, 7 Jul 2020 15:48:46 +0530
|
|
Subject: [PATCH] hostapd: Fixed compilation warnings
|
|
|
|
Fixed uninitalized and unused variable warnings
|
|
|
|
Signed-off-by: Karthikeyan Kathirvel <kathirve@codeaurora.org>
|
|
Change-Id: I9e4e4ea928aa62213243a3d74d7b10d866d0875a
|
|
---
|
|
.../hostapd/patches/600-ubus_support.patch | 7 ++---
|
|
...on-to-test-RADAR-detection-probablity-in-.patch | 16 +++++-----
|
|
.../b00-012-hostapd-handle-rssi-cross-event.patch | 6 ++--
|
|
.../b00-013-hostap-add-signal-txrate-command.patch | 34 +++++++++++-----------
|
|
.../patches/c00-004-add-HE-cross-check.patch | 3 +-
|
|
.../patches/c00-011-hostapd-add-mbo-support.patch | 2 +-
|
|
.../hostapd/patches/d00-007-fixing-warning.patch | 28 ++++++++++++++++++
|
|
7 files changed, 61 insertions(+), 35 deletions(-)
|
|
create mode 100644 package/network/services/hostapd/patches/d00-007-fixing-warning.patch
|
|
|
|
--- a/src/ap/ieee802_11.c
|
|
+++ b/src/ap/ieee802_11.c
|
|
@@ -4159,7 +4159,7 @@ static void handle_assoc(struct hostapd_
|
|
{
|
|
u16 capab_info, listen_interval, seq_ctrl, fc;
|
|
int resp = WLAN_STATUS_SUCCESS;
|
|
- u16 reply_res;
|
|
+ u16 reply_res = WLAN_STATUS_UNSPECIFIED_FAILURE;
|
|
const u8 *pos;
|
|
int left, i;
|
|
struct sta_info *sta;
|