]> 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)
commitf3ac32b852bb0bce1b2df2aacf76b1df59e7353f
tree1a93edf5cb47eea45a120bd34ab0c72383cb28b6
parent0f21ee16f1acaab56bfadf6925d6feae5fc2bd2c
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