linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: ath6kl: Fixing a compile error
@ 2010-09-18  1:06 Vipin Mehta
  2010-09-18  8:41 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Vipin Mehta @ 2010-09-18  1:06 UTC (permalink / raw)
  To: greg; +Cc: linux-wireless, vmehta, devel, andy.shevchenko, randy.dunlap

Fixing a typo that came in as part of commit
fa1ae16c97d25bb57ed9e1971b9e814da6a290bd.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
---
 drivers/staging/ath6kl/wmi/wmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/ath6kl/wmi/wmi.c b/drivers/staging/ath6kl/wmi/wmi.c
index 9811ce7..23ae5d2 100644
--- a/drivers/staging/ath6kl/wmi/wmi.c
+++ b/drivers/staging/ath6kl/wmi/wmi.c
@@ -1458,7 +1458,7 @@ wmi_bssInfo_event_rx(struct wmi_t *wmip, A_UINT8 *datap, int len)
 
 	A_DPRINTF(DBG_WMI2, (DBGFMT "bssInfo event - ch %u, rssi %02x, "
 		"bssid \"%pM\"\n", DBGARG, bih->channel,
-		(unsigned char) bih->rssi, i&bih->bssid[0]));
+		(unsigned char) bih->rssi, &bih->bssid[0]));
 
     if(wps_enable && (bih->frameType == PROBERESP_FTYPE) ) {
         wmi_node_return(wmip, bss);
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] staging: ath6kl: Fixing a compile error
@ 2010-09-18  1:14 Vipin Mehta
  0 siblings, 0 replies; 4+ messages in thread
From: Vipin Mehta @ 2010-09-18  1:14 UTC (permalink / raw)
  To: greg; +Cc: linux-wireless, vmehta, devel, randy.dunlap

The commit fixes a compilation error that was encountered while using
a specific kernel configuration file. The problem was the use of some
functions defined in <linux/semaphore.h> without including the header
file explicitly. It was probably working before because of the
dependency getting implicitly satisfied via some other header file.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
---
 .../staging/ath6kl/os/linux/include/osapi_linux.h  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
index ef7cc82..fce6ceb 100644
--- a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
+++ b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
@@ -39,7 +39,7 @@
 #include <linux/timer.h>
 #include <linux/delay.h>
 #include <linux/wait.h>
-
+#include <linux/semaphore.h>
 #include <linux/cache.h>
 
 #ifdef __GNUC__
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] staging: ath6kl: Fixing a compile error
  2010-09-18  1:06 [PATCH] staging: ath6kl: Fixing a compile error Vipin Mehta
@ 2010-09-18  8:41 ` Andy Shevchenko
  2010-09-20 23:56   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2010-09-18  8:41 UTC (permalink / raw)
  To: Vipin Mehta; +Cc: greg, linux-wireless, devel, randy.dunlap

Yeah, but this is fixed in my correction series.
Whole store there:

http://lkml.org/lkml/2010/9/16/330
http://lkml.org/lkml/2010/9/17/54

On Sat, Sep 18, 2010 at 4:06 AM, Vipin Mehta <vmehta@atheros.com> wrote:
> Fixing a typo that came in as part of commit
> fa1ae16c97d25bb57ed9e1971b9e814da6a290bd.
>
> Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
> Signed-off-by: Vipin Mehta <vmehta@atheros.com>
> ---
>  drivers/staging/ath6kl/wmi/wmi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/staging/ath6kl/wmi/wmi.c b/drivers/staging/ath6kl/wmi/wmi.c
> index 9811ce7..23ae5d2 100644
> --- a/drivers/staging/ath6kl/wmi/wmi.c
> +++ b/drivers/staging/ath6kl/wmi/wmi.c
> @@ -1458,7 +1458,7 @@ wmi_bssInfo_event_rx(struct wmi_t *wmip, A_UINT8 *datap, int len)
>
>        A_DPRINTF(DBG_WMI2, (DBGFMT "bssInfo event - ch %u, rssi %02x, "
>                "bssid \"%pM\"\n", DBGARG, bih->channel,
> -               (unsigned char) bih->rssi, i&bih->bssid[0]));
> +               (unsigned char) bih->rssi, &bih->bssid[0]));
>
>     if(wps_enable && (bih->frameType == PROBERESP_FTYPE) ) {
>         wmi_node_return(wmip, bss);
> --
> 1.6.3.3
>
>



-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] staging: ath6kl: Fixing a compile error
  2010-09-18  8:41 ` Andy Shevchenko
@ 2010-09-20 23:56   ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-09-20 23:56 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Vipin Mehta, linux-wireless, devel, randy.dunlap

On Sat, Sep 18, 2010 at 11:41:40AM +0300, Andy Shevchenko wrote:
> Yeah, but this is fixed in my correction series.
> Whole store there:
> 
> http://lkml.org/lkml/2010/9/16/330
> http://lkml.org/lkml/2010/9/17/54

Yes, I've now applied this one, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-21  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-18  1:06 [PATCH] staging: ath6kl: Fixing a compile error Vipin Mehta
2010-09-18  8:41 ` Andy Shevchenko
2010-09-20 23:56   ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2010-09-18  1:14 Vipin Mehta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).