Patch from Pavel Roskin fixes the build on 2.6.26.
This commit is contained in:
parent
0b9426b9e7
commit
1145037797
1
CHANGES
1
CHANGES
|
@ -41,6 +41,7 @@
|
|||
* Intersil Corporation as part of PRISM(R) chipset product development.
|
||||
*
|
||||
* --------------------------------------------------------------------
|
||||
- Fix compiles with 2.6.26 (Pavel Roskin)
|
||||
- Add compatibility with 2.6.27+ WEXT API (Pavel Roskin)
|
||||
- Fix misplaced variable in PCMCIA code (Pavel Roskin)
|
||||
- Add compatibility for gfp_t and mutex APIs (Pavel Roskin)
|
||||
|
|
|
@ -947,7 +947,9 @@ int wlan_setup(wlandevice_t *wlandev)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) )
|
||||
dev_net_set(dev, &init_net);
|
||||
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
|
||||
dev->nd_net = &init_net;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue