qcacmn: Explicit initialization of vdev id
The vdevid used in the wlan_ser_print_history function is not initialized by default and we pass them to subsequent function without initializing though that would not be used. Initialize the vdev id by default irrespective of its use. Change-Id: I0c45528bdfcb8c6e37a40ea9a68f5c56c1cda753 CRs-Fixed: 2407068
This commit is contained in:
@@ -165,7 +165,7 @@ QDF_STATUS wlan_ser_print_history(
|
||||
struct wlan_serialization_pdev_queue *pdev_q;
|
||||
struct wlan_serialization_vdev_queue *vdev_q;
|
||||
bool for_vdev_queue = false;
|
||||
uint32_t vdev_id;
|
||||
uint32_t vdev_id = WLAN_INVALID_VDEV_ID;
|
||||
|
||||
ser_pdev = wlan_serialization_get_pdev_obj(
|
||||
wlan_vdev_get_pdev(vdev));
|
||||
|
Reference in New Issue
Block a user