mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ocf: fix uninitialized variable access (thx, Dakon)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16285 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
+
|
||||
+ t = kthread_create(random_proc, NULL, "ocf-random");
|
||||
+ if (IS_ERR(t)) {
|
||||
+ ret = PTR_ERR(t);
|
||||
printk("crypto: crypto_rregister cannot start random thread; "
|
||||
"error %d", ret);
|
||||
- } else
|
||||
+ ret = PTR_ERR(t);
|
||||
+ } else {
|
||||
+ random_task = t;
|
||||
+ wake_up_process(t);
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
+
|
||||
+ t = kthread_create(random_proc, NULL, "ocf-random");
|
||||
+ if (IS_ERR(t)) {
|
||||
+ ret = PTR_ERR(t);
|
||||
printk("crypto: crypto_rregister cannot start random thread; "
|
||||
"error %d", ret);
|
||||
- } else
|
||||
+ ret = PTR_ERR(t);
|
||||
+ } else {
|
||||
+ random_task = t;
|
||||
+ wake_up_process(t);
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
+
|
||||
+ t = kthread_create(random_proc, NULL, "ocf-random");
|
||||
+ if (IS_ERR(t)) {
|
||||
+ ret = PTR_ERR(t);
|
||||
printk("crypto: crypto_rregister cannot start random thread; "
|
||||
"error %d", ret);
|
||||
- } else
|
||||
+ ret = PTR_ERR(t);
|
||||
+ } else {
|
||||
+ random_task = t;
|
||||
+ wake_up_process(t);
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
+
|
||||
+ t = kthread_create(random_proc, NULL, "ocf-random");
|
||||
+ if (IS_ERR(t)) {
|
||||
+ ret = PTR_ERR(t);
|
||||
printk("crypto: crypto_rregister cannot start random thread; "
|
||||
"error %d", ret);
|
||||
- } else
|
||||
+ ret = PTR_ERR(t);
|
||||
+ } else {
|
||||
+ random_task = t;
|
||||
+ wake_up_process(t);
|
||||
|
||||
Reference in New Issue
Block a user