From db836da4e78fd538e3bf0bbedc57ce97891a1284 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 6 Oct 2009 12:51:11 -0400 Subject: [PATCH] Update offsets for libertas for 01-netdev.patch Signed-off-by: Luis R. Rodriguez --- compat/patches/01-netdev.patch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/compat/patches/01-netdev.patch b/compat/patches/01-netdev.patch index b2e71369ba55..141f80bd2374 100644 --- a/compat/patches/01-netdev.patch +++ b/compat/patches/01-netdev.patch @@ -397,9 +397,9 @@ without creating a headache on maintenance of the pathes. priv->wireless_data.spy_data = &priv->ieee->spy_data; net_dev->wireless_data = &priv->wireless_data; net_dev->wireless_handlers = &ipw_wx_handler_def; ---- a/drivers/net/wireless/libertas/main.c 2009-08-18 16:17:34.669375612 -0700 -+++ b/drivers/net/wireless/libertas/main.c 2009-08-18 16:17:35.277375431 -0700 -@@ -1148,6 +1148,7 @@ +--- a/drivers/net/wireless/libertas/main.c 2009-10-06 12:49:55.000000000 -0400 ++++ b/drivers/net/wireless/libertas/main.c 2009-10-06 12:49:56.000000000 -0400 +@@ -1225,6 +1225,7 @@ lbs_deb_leave(LBS_DEB_MAIN); } @@ -407,7 +407,7 @@ without creating a headache on maintenance of the pathes. static const struct net_device_ops lbs_netdev_ops = { .ndo_open = lbs_dev_open, .ndo_stop = lbs_eth_stop, -@@ -1158,6 +1159,7 @@ +@@ -1235,6 +1236,7 @@ .ndo_change_mtu = eth_change_mtu, .ndo_validate_addr = eth_validate_addr, }; @@ -415,7 +415,7 @@ without creating a headache on maintenance of the pathes. /** * @brief This function adds the card. it will probe the -@@ -1193,7 +1195,16 @@ +@@ -1270,7 +1272,16 @@ priv->infra_open = 0; /* Setup the OS Interface to our functions */ @@ -432,7 +432,7 @@ without creating a headache on maintenance of the pathes. dev->watchdog_timeo = 5 * HZ; dev->ethtool_ops = &lbs_ethtool_ops; #ifdef WIRELESS_EXT -@@ -1420,6 +1431,7 @@ +@@ -1503,6 +1514,7 @@ EXPORT_SYMBOL_GPL(lbs_stop_card); @@ -440,7 +440,7 @@ without creating a headache on maintenance of the pathes. static const struct net_device_ops mesh_netdev_ops = { .ndo_open = lbs_dev_open, .ndo_stop = lbs_mesh_stop, -@@ -1427,6 +1439,7 @@ +@@ -1510,6 +1522,7 @@ .ndo_set_mac_address = lbs_set_mac_address, .ndo_set_multicast_list = lbs_set_multicast_list, }; @@ -448,7 +448,7 @@ without creating a headache on maintenance of the pathes. /** * @brief This function adds mshX interface -@@ -1450,7 +1463,15 @@ +@@ -1533,7 +1546,15 @@ mesh_dev->ml_priv = priv; priv->mesh_dev = mesh_dev; @@ -464,7 +464,7 @@ without creating a headache on maintenance of the pathes. mesh_dev->ethtool_ops = &lbs_ethtool_ops; memcpy(mesh_dev->dev_addr, priv->dev->dev_addr, sizeof(priv->dev->dev_addr)); -@@ -1666,11 +1687,13 @@ +@@ -1749,11 +1770,13 @@ lbs_deb_leave(LBS_DEB_MAIN); } @@ -478,7 +478,7 @@ without creating a headache on maintenance of the pathes. static int lbs_add_rtap(struct lbs_private *priv) { -@@ -1691,7 +1714,13 @@ +@@ -1774,7 +1797,13 @@ memcpy(rtap_dev->dev_addr, priv->current_addr, ETH_ALEN); rtap_dev->type = ARPHRD_IEEE80211_RADIOTAP; -- 2.30.2