]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8723bs: fix build when DEBUG_RTL871X is defined
authorStefan Assmann <sassmann@kpanic.de>
Wed, 19 Jul 2017 09:30:19 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:28:21 +0000 (08:28 -0700)
commit76b71fbe064f7a1caff72a7ba3274d9062c1d181
tree183cfd8f352c4dc3612a95afc38e6a5178689910
parent5d5272a5177d8e9c2fd9282a1db765a8cb44576d
staging: rtl8723bs: fix build when DEBUG_RTL871X is defined

Defining DEBUG_RTL871X in rtw_debug.h causes the following compile error:
  CC [M]  drivers/staging/rtl8723bs/core/rtw_mlme.o
In file included from drivers/staging/rtl8723bs/core/rtw_mlme.c:18:0:
drivers/staging/rtl8723bs/core/rtw_mlme.c: In function ‘rtw_restruct_sec_ie’:
drivers/staging/rtl8723bs/core/rtw_mlme.c:2502:19: error: ‘ndissecuritytype’ undeclared (first use in thisfunction)

Remove the no longer existing parameter.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c