projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb6c13
)
wireless: airo: delete netdev from list after it is freed
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 13 Jul 2010 11:23:33 +0000
(15:23 +0400)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 14 Jul 2010 17:52:45 +0000
(13:52 -0400)
We must call del_airo_dev() before free_netdev() since we call
add_airo_dev() exactly after alloc_netdev().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/airo.c
b/drivers/net/wireless/airo.c
index 528d563756232298833bec39ea5b162c2c768c5e..053f90c7aa1b47f5b471f2717f5d1e816fb1c808 100644
(file)
--- a/
drivers/net/wireless/airo.c
+++ b/
drivers/net/wireless/airo.c
@@
-2931,8
+2931,8
@@
err_out_res:
release_region( dev->base_addr, 64 );
err_out_nets:
airo_networks_free(ai);
- del_airo_dev(ai);
err_out_free:
+ del_airo_dev(ai);
free_netdev(dev);
return NULL;
}