mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Initialize packet filter clear rule properly
Initialize packet filter clear rule on stack properly to avoid using un-initialized member variables. Change-Id: I03b129e7660ed761b03ac163fdb3e7eee58ec034 CRs-Fixed: 2119208
This commit is contained in:
parent
361216564a
commit
3251405396
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ int hdd_disable_default_pkt_filters(struct hdd_adapter *adapter)
|
|||
struct hdd_context *hdd_ctx;
|
||||
uint8_t filters = 0, i = 0, filter_id = 1;
|
||||
|
||||
struct pkt_filter_cfg packet_filter_default_rules;
|
||||
struct pkt_filter_cfg packet_filter_default_rules = {0};
|
||||
|
||||
hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
||||
if (hdd_ctx == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue