[RAMEN9610-20656]wlbt: Vts failed for configure_roaming API.
authorSrishti Piplani <srishti.p@samsung.com>
Wed, 21 Aug 2019 12:56:43 +0000 (18:26 +0530)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:37 +0000 (20:23 +0300)
Modified set_bssid_blacklist to check proper length
for bssid attribute.

Change-Id: I0867246112f1059b2abf20ffdab171d2e733c695
SCSC-Bug-Id: HOST-10743
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
drivers/net/wireless/scsc/nl80211_vendor.c
include/scsc/scsc_release.h

index f1d2308ea2d6faa5a248b628789876eb61325c4c..0c862bd6c5ceba334c83d45c5fb319e38ecf3b41 100755 (executable)
@@ -1359,7 +1359,7 @@ static int slsi_set_bssid_blacklist(struct wiphy *wiphy, struct wireless_dev *wd
                                goto exit;
                        }
 
-                       if (nla_len(attr) != (SLSI_NL_ATTRIBUTE_U8_LEN - NLA_HDRLEN)) {
+                       if (nla_len(attr) != 6) { /*Attribute length should be equal to length of mac address which is 6 bytes.*/
                                ret = -EINVAL;
                                goto exit;
                        }
index b217dc747f821ad43d50f772232e70e76a655963..163888a3f4cc3e704e7be1ee4eae0f2c56ddb3a2 100644 (file)
@@ -23,7 +23,7 @@
 #define SCSC_RELEASE_ITERATION 6
 #define SCSC_RELEASE_CANDIDATE 1
 
-#define SCSC_RELEASE_POINT 1
+#define SCSC_RELEASE_POINT 2
 
 #endif