Skip to content
Snippets Groups Projects
Commit 01fa5ace authored by Anjan Chanda's avatar Anjan Chanda
Browse files

wifi: restore radar rssi threshold after wifi firmware crash

parent 9df06bbc
No related branches found
No related tags found
No related merge requests found
From bec8be83f90a8bb541a1fa457d2d40e553202111 Mon Sep 17 00:00:00 2001
From: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: Wed, 11 Dec 2019 17:05:15 +0100
Subject: [PATCH] set radar threshold value before vap activate
---
wireless/driver/linux/core.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/wireless/driver/linux/core.c b/wireless/driver/linux/core.c
index 55a3baf..cb61c77 100644
--- a/wireless/driver/linux/core.c
+++ b/wireless/driver/linux/core.c
@@ -2315,6 +2315,11 @@ int mtlk_mbss_send_vap_activate(struct nic *nic, u8 band)
}
}
+ result = mtlk_core_cfg_recovery_radar_rssi_threshold(nic);
+ if (result != MTLK_ERR_OK) {
+ ELOG_V("Failed to set RadarRssiTh!");
+ }
+
/* FIXME this thing is supposed to get removed soon */
if (MTLK_ERR_OK != (result = _mtlk_mbss_preactivate_if_needed(nic, FALSE)))
{
--
2.7.4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment