qca-wifi: Free nbuf on bpr disabled case only

If tx capture, sniffer are not enabled, mgmt nbuf is freed.
It is causing use-after-free in bpr enabled case

Added change to free only when bpr is disabled

CRs-Fixed: 2662214
Change-Id: I0d889f371cf47047200f70563b589fac99733c49
1 file changed
tree: 22fb452e057c59ab74797f82d7d3b86ca25b0815
  1. configs/
  2. crypto/
  3. direct_attach/
  4. dp/
  5. qal/
  6. target_if/
  7. tools/
  8. umac/
  9. wmi/