Magellan Linux

Contents of /trunk/hwinfo/patches/hwinfo-18.1-alx.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1195 - (show annotations) (download)
Sun Nov 21 12:11:03 2010 UTC (13 years, 5 months ago) by niro
File size: 1247 byte(s)
added alx patch
1 diff -Naur hwinfo-18.1/Makefile.common hwinfo-18.1-alx/Makefile.common
2 --- hwinfo-18.1/Makefile.common 2010-03-15 15:38:50.000000000 +0100
3 +++ hwinfo-18.1-alx/Makefile.common 2010-11-21 13:08:14.000000000 +0100
4 @@ -22,7 +22,7 @@
5
6 CC = gcc
7 LD = ld
8 -CFLAGS = $(RPM_OPT_FLAGS) -Wall -Wno-pointer-sign -pipe -g $(SHARED_FLAGS) $(EXTRA_FLAGS) -I$(TOPDIR)/src/hd
9 +CFLAGS = $(RPM_OPT_FLAGS) -Wall -pipe -g $(SHARED_FLAGS) $(EXTRA_FLAGS) -I$(TOPDIR)/src/hd
10 SHARED_FLAGS = -fPIC
11
12 LDFLAGS = -Lsrc
13 diff -Naur hwinfo-18.1/src/hd/wlan.c hwinfo-18.1-alx/src/hd/wlan.c
14 --- hwinfo-18.1/src/hd/wlan.c 2010-03-10 12:50:32.000000000 +0100
15 +++ hwinfo-18.1-alx/src/hd/wlan.c 2010-11-21 13:08:31.000000000 +0100
16 @@ -182,14 +182,6 @@
17 add_str_list(&res->wlan.auth_modes, "sharedkey");
18 }
19
20 - if (range.enc_capa & (IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2)) {
21 - add_str_list(&res->wlan.auth_modes, "wpa-psk");
22 - add_str_list(&res->wlan.auth_modes, "wpa-eap");
23 - if (range.enc_capa & IW_ENC_CAPA_CIPHER_TKIP)
24 - add_str_list(&res->wlan.enc_modes, "TKIP");
25 - if (range.enc_capa & IW_ENC_CAPA_CIPHER_CCMP)
26 - add_str_list(&res->wlan.enc_modes, "CCMP");
27 - }
28 add_res_entry(&hd->res, res);
29 }
30 }