diff options
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_memdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_memdump.c b/CORE/HDD/src/wlan_hdd_memdump.c index 586c4f86322d..bf2288c07b95 100644 --- a/CORE/HDD/src/wlan_hdd_memdump.c +++ b/CORE/HDD/src/wlan_hdd_memdump.c @@ -158,7 +158,7 @@ static int wlan_hdd_send_memdump_rsp(hdd_context_t *hdd_ctx) } skb = cfg80211_vendor_cmd_alloc_reply_skb(hdd_ctx->wiphy, - sizeof(uint32_t)); + NLMSG_HDRLEN + NLA_HDRLEN + sizeof(uint32_t)); if (!skb) { hddLog(LOGE, FL("cfg80211_vendor_cmd_alloc_reply_skb failed")); |
