PD#SWPL-87270
Problem:
Trigger WiFi disconnection event repeatedly
Solution:
When the upper layer triggers the disconnection of WiFi,
do not send WiFi disconnection to the upper layer.
Verify:
ohm
Signed-off-by: libo <bo.li@amlogic.com>
Change-Id: I6f1a46036c34d725fc2efaab5744114918129a11
#elif (defined (BCMDBG_ASSERT) && !defined (BCMDBG_ASSERT_DISABLED))
#define EPI_VERSION_STR "101.10.361 (wlan=r892223 ASSRT)"
#else
-#define EPI_VERSION_STR "101.10.361.17 (wlan=r892223-20220415-1)(20220426-1)"
+#define EPI_VERSION_STR "101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)"
#endif /* BCMINTERNAL */
#endif /* _epivers_h_ */
}
#endif
+ if (wl_get_drv_status(cfg, DISCONNECTING, ndev)) {
+ /* If DISCONNECTING bit is set, mark locally generated */
+ loc_gen = 1;
+ }
+
CFG80211_DISCONNECTED(ndev, reason, ie_ptr, ie_len,
loc_gen, GFP_KERNEL);
WL_MSG(ndev->name, "Disconnect event sent to upper layer"