From d5fa03504f62a38fb61f1e76c83a0c656601b04e Mon Sep 17 00:00:00 2001 From: Tony Lin Date: Tue, 15 Mar 2011 10:44:44 +0800 Subject: ENGR00140550-1 [AR6003 WIFI]modifications from cherry-pick add header files to make cherry-pick compile on 2.6.35 kernel change wireless name from eth to wlan Signed-off-by: Tony Lin --- drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c | 2 +- drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 1 + drivers/staging/ath6kl/os/linux/ar6000_drv.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c index c307a5559362..f0e9aa43f8fb 100644 --- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c +++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c @@ -30,7 +30,7 @@ #include #include #include - +#include /* by default setup a bounce buffer for the data packets, if the underlying host controller driver does not use DMA you may be able to skip this step and save the memory allocation and transfer time */ #define HIF_USE_DMA_BOUNCE_BUFFER 1 diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c index 22c6c6659f5b..10f6f6002b04 100644 --- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c +++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "hif_internal.h" #define ATH_MODULE_NAME hif #include "a_debug.h" diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c index ff7976e9a5ca..1d31c7da20fc 100644 --- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c +++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c @@ -120,7 +120,7 @@ HCI_TRANSPORT_CALLBACKS ar6kHciTransCallbacks = { NULL }; unsigned int processDot11Hdr = 0; int bmienable = BMIENABLE_DEFAULT; -char ifname[IFNAMSIZ] = {0,}; +char ifname[IFNAMSIZ] = "wlan%d"; int wlaninitmode = WLAN_INIT_MODE_DEFAULT; unsigned int bypasswmi = 0; -- cgit v1.2.3