qcacmn: Initialized pdev id with default value 0xFF
pdev_id is being initialized with 0. Since 0 is valid pdev_id, though pdev is not present for that id, it is being accessed. Initialized pdev_id to 0xFF by default. Added checks on API to detect valid pdev_id value corresponding to lmac_id Change-Id: I2b2a38783615494ccc08e265702815f7e562214b
This commit is contained in:

committed by
nshrivas

parent
2eb8560c88
commit
9b0c1271ed
@@ -83,6 +83,8 @@
|
||||
#define WLAN_CFG_RX_FST_MAX_SEARCH 2
|
||||
#define WLAN_CFG_RX_FST_TOEPLITZ_KEYLEN 40
|
||||
|
||||
#define INVALID_PDEV_ID 0xFF
|
||||
|
||||
struct wlan_cfg_dp_pdev_ctxt;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user