nl80211: Fix sizeof check in vendor command/event handling
authorMax Stepanov <Max.Stepanov@intel.com>
Wed, 22 Jan 2014 14:05:47 +0000 (16:05 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 22 Jan 2014 17:30:20 +0000 (19:30 +0200)
commit080cc445df897592f493d33224f6c3ec01b4a821
tree012bc3060bfd67e0051b440c3469ffc83d7e6625
parenta487b3557215ad736cf7c6e6f8d07f03b94cad31
nl80211: Fix sizeof check in vendor command/event handling

Fix sizeof in a validity comparison of nl80211_vendor_cmd_info size. The
incorrect version happened to work on 64-bit builds due the structure
being eight octets, but this was incorrect and would not used with
32-bit builds.

Signed-hostap: Max Stepanov <Max.Stepanov@intel.com>
src/drivers/driver_nl80211.c