mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
staging: rtl8723bs: remove unnecessary braces
Remove braces from single-line conditional statements. Signed-off-by: Michael Huang <tehsiu.huang@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/20260124231557.18189-7-tehsiu.huang@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d583b26c9e
commit
5747a86451
|
|
@ -1120,11 +1120,10 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)
|
|||
|
||||
pstat->flags &= ~(WLAN_STA_WPS | WLAN_STA_MAYBE_WPS);
|
||||
if (!wpa_ie) {
|
||||
if (elems.wps_ie) {
|
||||
if (elems.wps_ie)
|
||||
pstat->flags |= WLAN_STA_WPS;
|
||||
} else {
|
||||
else
|
||||
pstat->flags |= WLAN_STA_MAYBE_WPS;
|
||||
}
|
||||
|
||||
|
||||
/* AP support WPA/RSN, and sta is going to do WPS, but AP is not ready */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user