commit | f794f1134d32228a6903cd26fa6be8323a228cef | [log] [tgz] |
---|---|---|
author | Will McVicker <willmcvicker@google.com> | Thu Jul 21 16:29:47 2022 -0700 |
committer | William McVicker <willmcvicker@google.com> | Mon Jul 25 22:06:49 2022 +0000 |
tree | 8761b35261e1a253571a74deea44d7a71157c268 | |
parent | 03164c25284301aeddd0b7dceb2d82732f9f9cd0 [diff] |
Fix mac_prim NPE when NAN is disabled If NAN is disabled in the kernel, then the NAN mac control will be NULL which can lead to a NPE during nan_disable_request(). Make sure to check mac_prim for NULL before dereferencing it. Bug: 226984257 Change-Id: I535fbae186eee2f62a01376b439629bd51b76460