Changeset 2651
- Timestamp:
- 08/12/07 02:39:09 (1 year ago)
- Files:
-
- trunk/net80211/ieee80211_linux.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/net80211/ieee80211_linux.c
r2622 r2651 61 61 #include <net80211/ieee80211_monitor.h> 62 62 63 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6, 0)63 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) 64 64 #include <linux/device.h> 65 65 … … 103 103 .attrs = ieee80211_sysfs_attrs 104 104 }; 105 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6, 0) */105 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */ 106 106 107 107 /* … … 718 718 char *devname = NULL; 719 719 struct ieee80211_proc_entry *tmp = NULL; 720 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6, 0)720 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) 721 721 int ret; 722 722 … … 736 736 return; 737 737 } 738 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6, 0) */738 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */ 739 739 740 740 space = 5 * sizeof(struct ctl_table) + sizeof(ieee80211_sysctl_template); … … 906 906 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21) 907 907 sysfs_remove_group(&vap->iv_dev->dev.kobj, &ieee80211_attr_grp); 908 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6, 0)908 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) 909 909 sysfs_remove_group(&vap->iv_dev->class_dev.kobj, &ieee80211_attr_grp); 910 910 #endif
