[PATCH] libertas: if_usb.c compile fix
Marcelo Tosatti
mtosatti at redhat.com
Mon Oct 16 11:57:49 EDT 2006
On Mon, Oct 16, 2006 at 10:41:47AM -0400, Dan Williams wrote:
> Missing priv-> in 2 places.
Already fixed in previous commit, thanks!
>
> Signed-off-by: Dan Williams <dcbw at redhat.com>
>
> diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
> index 2f7c552..cb58965 100644
> --- a/drivers/net/wireless/libertas/if_usb.c
> +++ b/drivers/net/wireless/libertas/if_usb.c
> @@ -615,7 +615,7 @@ #define MRVDRV_MIN_PKT_LEN 30
> break;
> }
>
> - spin_lock_irqsave(&adapter->driver_lock, flags);
> + spin_lock_irqsave(&priv->adapter->driver_lock, flags);
> /* take care of CurCmd = NULL case by reading the
> * data to clear the interrupt */
> if (!priv->adapter->CurCmd) {
> @@ -629,7 +629,7 @@ #define MRVDRV_MIN_PKT_LEN 30
> priv->wlan_dev.upld_len = (RecvLength - MESSAGE_HEADER_LEN);
> memcpy(cmdBuf, RecvBuff + MESSAGE_HEADER_LEN,
> priv->wlan_dev.upld_len);
> - spin_unlock_irqrestore(&adapter->driver_lock, flags);
> + spin_unlock_irqrestore(&priv->adapter->driver_lock, flags);
>
> kfree_skb(skb);
>
>
More information about the libertas-dev
mailing list