Validate the reason code from the driver

This commit validates the reason code obtained
from the driver / firmware. Without this , any
invalid value shall go unvalidated and an offset
of 256 would result in to an addition overflow

Change-Id: I4526c1f0cfa2947c992eae01bfd5be88cb0a943e
CRs-Fixed: 2721223
1 file changed
tree: 19ce7404f52313974795520b5f8d6fd123a18b3a
  1. cld80211-lib/
  2. qcwcn/
  3. wcnss-service/
  4. Android.mk