lkml.org 
[lkml]   [2011]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 11/15] staging: ath6kl: cfg80211: Convert forceFgScan to A_UINT32
Date
It's declared that way in the prototype, use it that way too.

Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/staging/ath6kl/os/linux/cfg80211.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ath6kl/os/linux/cfg80211.c b/drivers/staging/ath6kl/os/linux/cfg80211.c
index e3dc99a..936879e 100644
--- a/drivers/staging/ath6kl/os/linux/cfg80211.c
+++ b/drivers/staging/ath6kl/os/linux/cfg80211.c
@@ -726,7 +726,7 @@ ar6k_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
{
AR_SOFTC_T *ar = (AR_SOFTC_T *)ar6k_priv(ndev);
int ret = 0;
- A_BOOL forceFgScan = FALSE;
+ A_UINT32 forceFgScan = 0;

AR_DEBUG_PRINTF(ATH_DEBUG_INFO, ("%s: \n", __func__));

@@ -765,7 +765,7 @@ ar6k_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
}

if(ar->arConnected) {
- forceFgScan = TRUE;
+ forceFgScan = 1;
}

if(wmi_startscan_cmd(ar->arWmi, WMI_LONG_SCAN, forceFgScan, FALSE, \
--
1.7.4.rc3


\
 
 \ /
  Last update: 2011-01-28 05:07    [W:0.099 / U:11.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site