summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl1251/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-29 11:45:18 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-11-30 12:41:26 (GMT)
commitc604b9f219422e969fe371cc7259de34c3c5601d (patch)
tree01f8773dbdc25cc7d044b0e371acf3a763af1604 /drivers/net/wireless/ti/wl1251/main.c
parentf94f8b168cf2e46da180bbba2afd626d7af0579d (diff)
downloadlinux-fsl-qoriq-c604b9f219422e969fe371cc7259de34c3c5601d.tar.xz
mac80211: make ieee80211_build_preq_ies safer
Instead of assuming 200 bytes are always enough for all the IEs we add, give the length of the buffer to the function and warn instead of overrunning. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/main.c')
0 files changed, 0 insertions, 0 deletions