summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch')
-rw-r--r--recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch b/recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch
deleted file mode 100644
index d41c2ea..0000000
--- a/recipes-kernel/linux/files/colibri-t30/bcm4329_warning.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- kernel/drivers/net/wireless/bcm4329/dhd_linux.c.orig 2011-12-21 19:54:24.884526348 +0100
-+++ kernel/drivers/net/wireless/bcm4329/dhd_linux.c 2011-12-21 18:55:18.974476355 +0100
-@@ -1226,14 +1226,14 @@
- struct sk_buff *skb;
- uchar *eth;
- uint len;
-- void * data, *pnext, *save_pktbuf;
-+ void * data, *pnext/*max , *save_pktbuf*/;
- int i;
- dhd_if_t *ifp;
- wl_event_msg_t event;
-
- DHD_TRACE(("%s: Enter\n", __FUNCTION__));
-
-- save_pktbuf = pktbuf;
-+/*max save_pktbuf = pktbuf;*/
-
- for (i = 0; pktbuf && i < numpkt; i++, pktbuf = pnext) {
-
-@@ -1904,6 +1904,13 @@ dhd_open(struct net_device *net)
- ifidx = dhd_net2idx(dhd, net);
- DHD_TRACE(("%s: ifidx %d\n", __FUNCTION__, ifidx));
-
-+//max
-+ if (ifidx < 0 || ifidx >= DHD_MAX_IFS) {
-+ DHD_ERROR(("%s: Error: error ifidx out of range\n", __FUNCTION__));
-+ return -1;
-+ }
-+//end max
-+
- if ((dhd->iflist[ifidx]) && (dhd->iflist[ifidx]->state == WLC_E_IF_DEL)) {
- DHD_ERROR(("%s: Error: called when IF already deleted\n", __FUNCTION__));
- return -1;