staging: rtl8723bs: Skip unnecessary field checks
authorAymen Qader <qader.aymen@gmail.com>
Thu, 27 Sep 2018 22:28:14 +0000 (23:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:36 +0000 (14:41 +0200)
commit6493a78f80384e3542a040b4fd07f01a280d1cf4
treec6fd34acf0177b3655ed1581f1d264f2f689abc3
parentdaf9a56cbb791865db751d97c570d90b9e0aed20
staging: rtl8723bs: Skip unnecessary field checks

Skip unnecessary request field checks when the information element
pointer is null.

Signed-off-by: Aymen Qader <qader.aymen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c