]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: remove scan ies NULL check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2013 15:51:29 +0000 (16:51 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 17:44:58 +0000 (18:44 +0100)
commit95b949ebbb8d24430cf059d9e04b962fa37b386d
tree1a93edf5cb47eea45a120bd34ab0c72383cb28b6
parent4dd1ec0f2ff1781e642284736e7a0bcc0c4d183e
cfg80211: remove scan ies NULL check

There's no way scan BSS IEs can be NULL as even
if the allocation fails the frame is discarded.
Remove some code checking for this and document
that it is always non-NULL.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mwifiex/sta_ioctl.c
include/net/cfg80211.h
net/wireless/scan.c