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>
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;
}
#define SCSC_RELEASE_ITERATION 6
#define SCSC_RELEASE_CANDIDATE 1
-#define SCSC_RELEASE_POINT 1
+#define SCSC_RELEASE_POINT 2
#endif