aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcmdhd/dhd_common.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-10-25 16:32:46 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-10-26 12:26:38 -0700
commitc670bf779bbd4bc22d5a61e1a9a8b083bb63d7d5 (patch)
tree23526b8049fcc3ac2d2ab1cb47cc80fc79cbf625 /drivers/net/wireless/bcmdhd/dhd_common.c
parent932de6c144611d159311e758f3e9fad8f37f6497 (diff)
downloadkernel_samsung_aries-c670bf779bbd4bc22d5a61e1a9a8b083bb63d7d5.zip
kernel_samsung_aries-c670bf779bbd4bc22d5a61e1a9a8b083bb63d7d5.tar.gz
kernel_samsung_aries-c670bf779bbd4bc22d5a61e1a9a8b083bb63d7d5.tar.bz2
net: wireless: bcmdhd: Update to version 5.90.125.94
- Fix WFD interface removal - Fix profile update - Keep same mode for softap or WFD during early suspend - Add dhd_console_ms parameter access Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/net/wireless/bcmdhd/dhd_common.c')
-rw-r--r--drivers/net/wireless/bcmdhd/dhd_common.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wireless/bcmdhd/dhd_common.c b/drivers/net/wireless/bcmdhd/dhd_common.c
index 8496f17..2222b02 100644
--- a/drivers/net/wireless/bcmdhd/dhd_common.c
+++ b/drivers/net/wireless/bcmdhd/dhd_common.c
@@ -21,7 +21,7 @@
* software in any way with any other Broadcom software provided under a license
* other than the GPL, without Broadcom's express prior written consent.
*
- * $Id: dhd_common.c 284903 2011-09-20 02:36:51Z $
+ * $Id: dhd_common.c 290546 2011-10-19 01:55:21Z $
*/
#include <typedefs.h>
#include <osl.h>
@@ -101,8 +101,6 @@ const char dhd_version[] = "Dongle Host Driver, version " EPI_VERSION_STR;
void dhd_set_timer(void *bus, uint wdtick);
-
-
/* IOVar table */
enum {
IOV_VERSION = 1,
@@ -961,7 +959,7 @@ wl_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata,
{
/* check whether packet is a BRCM event pkt */
bcm_event_t *pvt_data = (bcm_event_t *)pktdata;
- char *event_data;
+ uint8 *event_data;
uint32 type, status, reason, datalen;
uint16 flags;
int evlen;
@@ -1529,8 +1527,6 @@ dhd_sendup_event_common(dhd_pub_t *dhdp, wl_event_msg_t *event, void *data)
dhd_sendup_event(dhdp, event, data);
}
-
-
#ifdef SIMPLE_ISCAN
uint iscan_thread_id = 0;
@@ -1720,7 +1716,7 @@ fail:
/*
* returns = TRUE if associated, FALSE if not associated
*/
-bool is_associated(dhd_pub_t *dhd, void *bss_buf)
+bool dhd_is_associated(dhd_pub_t *dhd, void *bss_buf)
{
char bssid[6], zbuf[6];
int ret = -1;
@@ -1767,7 +1763,7 @@ dhd_get_dtim_skip(dhd_pub_t *dhd)
bcn_li_dtim = dhd->dtim_skip;
/* Check if associated */
- if (is_associated(dhd, NULL) == FALSE) {
+ if (dhd_is_associated(dhd, NULL) == FALSE) {
DHD_TRACE(("%s NOT assoc ret %d\n", __FUNCTION__, ret));
goto exit;
}
@@ -1865,7 +1861,7 @@ dhd_pno_enable(dhd_pub_t *dhd, int pfn_enabled)
memset(iovbuf, 0, sizeof(iovbuf));
- if ((pfn_enabled) && (is_associated(dhd, NULL) == TRUE)) {
+ if ((pfn_enabled) && (dhd_is_associated(dhd, NULL) == TRUE)) {
DHD_ERROR(("%s pno is NOT enable : called in assoc mode , ignore\n", __FUNCTION__));
return ret;
}