diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
commit | 5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch) | |
tree | 7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch | |
parent | 20a107748317091d1ac003f1cbb045928d07e684 (diff) |
Addeed the wi-fi modules
Diffstat (limited to 'net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch')
-rw-r--r-- | net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch b/net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch new file mode 100644 index 00000000..b52cd6d6 --- /dev/null +++ b/net-wireless/compat-wireless/files/compat-wireless-3.5-grsec2.patch @@ -0,0 +1,33 @@ +--- drivers/net/wireless/ti/wl12xx/main.c ++++ drivers/net/wireless/ti/wl12xx/main.c +Thanks to ryao for explaining the fix on ZFS! +@@ -612,6 +612,10 @@ + } + } + ++static struct wlcore_ops wl127x_ops = { ++ .prepare_read = wl127x_prepare_read ++}; ++ + static int wl12xx_identify_chip(struct wl1271 *wl) + { + int ret = 0; +@@ -631,7 +635,8 @@ + sizeof(wl->conf.mem)); + + /* read data preparation is only needed by wl127x */ +- wl->ops->prepare_read = wl127x_prepare_read; ++ /* wl->ops->prepare_read = wl127x_prepare_read; */ ++ wl->ops = &wl127x_ops; + + break; + +@@ -650,7 +655,8 @@ + sizeof(wl->conf.mem)); + + /* read data preparation is only needed by wl127x */ +- wl->ops->prepare_read = wl127x_prepare_read; ++ /* wl->ops->prepare_read = wl127x_prepare_read; */ ++ wl->ops = &wl127x_ops; + + break; |