Decouple btm_offload feature from MBO feature
btm_offload feature is not tied to MBO feature. So
if btm_offload feature is enabled, skip the roaming
algorithm even if there are no MBO IEs in BTM frame.
Bug: 190231636
Test: Manual - Roaming test
Change-Id: Ib6e76ca11e93f0fff74ed5bd836346b1e1446a5f
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 7e69343..914b5d9 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1476,15 +1476,14 @@
* - Set BIT(1) to enable OCE in STA-CFON mode
*/
unsigned int oce;
-
+#endif /* CONFIG_MBO */
/**
* btm_offload - Set where to perform roaming logic
* - Set to 0 to handle fully roaming logic in supplicant
* - Set to 1 to skip roaming logic in supplicant for firmware roaming
* just parse BTM frame and notify framework
*/
- int btm_offload;
-#endif /* CONFIG_MBO */
+ int btm_offload;
/**
* gas_address3 - GAS Address3 field behavior