qcacld-3.0: Rectify sanity check for IE whitelisting bitmaps
Currently the sanity check present for the IE whitelisting bitmaps is not proper. Instead of allowing the correct bitmaps to be used, it prevents any of the bitmap to be used if a single one is zero. Rectify the above check to allow the bitmaps to be used if atleast one of them has a non zero value. Change-Id: I496d6c6a1bda8c11d9bd42ea41a79ab04b539357 CRs-Fixed: 2647608
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
9a17be030e
Коммит
18bed7536f
@@ -285,10 +285,10 @@ next_token:
|
||||
static bool fwol_validate_ie_bitmaps(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_fwol_ie_whitelist *whitelist)
|
||||
{
|
||||
if (!(whitelist->ie_bitmap_0 && whitelist->ie_bitmap_1 &&
|
||||
whitelist->ie_bitmap_2 && whitelist->ie_bitmap_3 &&
|
||||
whitelist->ie_bitmap_4 && whitelist->ie_bitmap_5 &&
|
||||
whitelist->ie_bitmap_6 && whitelist->ie_bitmap_7))
|
||||
if (!(whitelist->ie_bitmap_0 || whitelist->ie_bitmap_1 ||
|
||||
whitelist->ie_bitmap_2 || whitelist->ie_bitmap_3 ||
|
||||
whitelist->ie_bitmap_4 || whitelist->ie_bitmap_5 ||
|
||||
whitelist->ie_bitmap_6 || whitelist->ie_bitmap_7))
|
||||
return false;
|
||||
|
||||
/*
|
||||
|
Ссылка в новой задаче
Block a user