compat-2.6: adjusting 01-netdev.patch for libertas cfg80211 support
authorHin-Tak Leung <hintak.leung@gmail.com>
Wed, 7 Oct 2009 02:50:57 +0000 (03:50 +0100)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 7 Oct 2009 05:41:55 +0000 (01:41 -0400)
Adjusting the netdev patch slightly to cope with recent change
in libertas regarding cfg80211 support:

    commit 6c65edc7a3e9452509a898cc9bbc210b0121617f
    Author: Holger Schurig <hs4233@mail.mn-solutions.de>
    Date:   Tue Oct 6 16:31:54 2009 +0200

        libertas: first stab at cfg80211 support

Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
compat/patches/01-netdev.patch

index 141f80bd23742e058619b929e8d14c86314d2058..f6bca3e382764eec220c385decf4aba26efeb52a 100644 (file)
@@ -416,9 +416,9 @@ without creating a headache on maintenance of the pathes.
  /**
   * @brief This function adds the card. it will probe the
 @@ -1270,7 +1272,16 @@
-       priv->infra_open = 0;
+       wdev->netdev = dev;
+       priv->dev = dev;
  
-       /* Setup the OS Interface to our functions */
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
        dev->netdev_ops = &lbs_netdev_ops;
 +#else