staging: rtl8188eu: don't define issue_asocrsp() in non-AP mode
authorLuca Ceresoli <luca@lucaceresoli.net>
Sun, 14 Jun 2015 12:40:23 +0000 (14:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jun 2015 16:45:55 +0000 (09:45 -0700)
commit2b49e0fce249bd8556828b9601328a679ca43860
treef2b4c5d70af4ab6bd615b9f428e9340232228391
parent2a049f7e64bd622f09ddf970e63782f63aeecfa9
staging: rtl8188eu: don't define issue_asocrsp() in non-AP mode

If CONFIG_88EU_AP_MODE is undefined, issue_asocrsp() is never referenced.

Fixes warning:
  drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:891:13: warning: ‘issue_asocrsp’ defined but not used [-Wunused-function]

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Fixes: 782eddd748d9 ("staging: rtl8188eu: unexport internal functions")
Cc: Greg Kroah-Hartman <gregkh@linux.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c