Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
DHDCFLAGS += -DSOFTAP
endif
ifneq ($(CONFIG_CFG80211),)
-bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o
+bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o dhd_linux_mon.o
DHDCFLAGS += -DWL_CFG80211
endif
EXTRA_CFLAGS = $(DHDCFLAGS)
static __used void wl_dongle_poweron(struct wl_priv *wl)
{
-
WL_DBG(("Enter \n"));
dhd_customer_gpio_wlan_ctrl(WLAN_RESET_ON);
static __used void wl_dongle_poweroff(struct wl_priv *wl)
{
-
-
WL_DBG(("Enter \n"));
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
+ wl_cfg80211_suspend(wl_to_wiphy(wl), NULL);
+#else
wl_cfg80211_suspend(wl_to_wiphy(wl));
+#endif
#if defined(BCMLXSDMMC)
sdioh_stop(NULL);