qcacld-3.0: Fix buf_len check in lim_send_sme_wm_status_change_ntf

Function lim_send_sme_wm_status_change_ntf is generic function, where
input buffer length depends on status_change_code. Use same code while
checking as max length of input buffer in memcopy operation.

Change-Id: Ie0d761ce7f85c4be9b164d1a281119560d337e01
CRs-Fixed: 1091486
1 file changed
tree: 71b0a1615a8cfb099fb60f59ec3ac515038b15c9
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt