Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 173054 Details for
Bug 248450
New ebuild: net-wireless/broadcom-sta
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to build on newer (>=2.6.26) kernels
broadcom-build-fix.patch (text/plain), 3.29 KB, created by
Nico Schlömer
on 2008-11-23 18:26:40 UTC
(
hide
)
Description:
patch to build on newer (>=2.6.26) kernels
Filename:
MIME Type:
Creator:
Nico Schlömer
Created:
2008-11-23 18:26:40 UTC
Size:
3.29 KB
patch
obsolete
>--- hybrid_wl.old/src/wl/sys/wl_iw.c 2008-10-14 01:04:20.000000000 -0400 >+++ hybrid_wl/src/wl/sys/wl_iw.c 2008-10-14 01:32:39.000000000 -0400 >@@ -931,12 +931,12 @@ > iwe.cmd = SIOCGIWAP; > iwe.u.ap_addr.sa_family = ARPHRD_ETHER; > memcpy(iwe.u.ap_addr.sa_data, &bi->BSSID, ETHER_ADDR_LEN); >- event = iwe_stream_add_event(event, end, &iwe, IW_EV_ADDR_LEN); >+ event = iwe_stream_add_event(info, event, end, &iwe, IW_EV_ADDR_LEN); > > iwe.u.data.length = dtoh32(bi->SSID_len); > iwe.cmd = SIOCGIWESSID; > iwe.u.data.flags = 1; >- event = iwe_stream_add_point(event, end, &iwe, bi->SSID); >+ event = iwe_stream_add_point(info, event, end, &iwe, bi->SSID); > > if (dtoh16(bi->capability) & (DOT11_CAP_ESS | DOT11_CAP_IBSS)) { > iwe.cmd = SIOCGIWMODE; >@@ -944,7 +944,7 @@ > iwe.u.mode = IW_MODE_INFRA; > else > iwe.u.mode = IW_MODE_ADHOC; >- event = iwe_stream_add_event(event, end, &iwe, IW_EV_UINT_LEN); >+ event = iwe_stream_add_event(info, event, end, &iwe, IW_EV_UINT_LEN); > } > > iwe.cmd = SIOCGIWFREQ; >@@ -952,13 +952,13 @@ > CHSPEC_CHANNEL(bi->chanspec) <= CH_MAX_2G_CHANNEL ? > WF_CHAN_FACTOR_2_4_G : WF_CHAN_FACTOR_5_G); > iwe.u.freq.e = 6; >- event = iwe_stream_add_event(event, end, &iwe, IW_EV_FREQ_LEN); >+ event = iwe_stream_add_event(info, event, end, &iwe, IW_EV_FREQ_LEN); > > iwe.cmd = IWEVQUAL; > iwe.u.qual.qual = rssi_to_qual(dtoh16(bi->RSSI)); > iwe.u.qual.level = 0x100 + dtoh16(bi->RSSI); > iwe.u.qual.noise = 0x100 + bi->phy_noise; >- event = iwe_stream_add_event(event, end, &iwe, IW_EV_QUAL_LEN); >+ event = iwe_stream_add_event(info, event, end, &iwe, IW_EV_QUAL_LEN); > > #if WIRELESS_EXT > 17 > >@@ -970,7 +970,7 @@ > if ((ie = bcm_parse_tlvs(ptr, ptr_len, DOT11_MNG_RSN_ID))) { > iwe.cmd = IWEVGENIE; > iwe.u.data.length = ie->len + 2; >- event = iwe_stream_add_point(event, end, &iwe, (char *)ie); >+ event = iwe_stream_add_point(info, event, end, &iwe, (char *)ie); > } > ptr = ((uint8 *)bi) + sizeof(wl_bss_info_t); > while ((ie = bcm_parse_tlvs(ptr, ptr_len, DOT11_MNG_WPA_ID))) { >@@ -978,7 +978,7 @@ > if (ie_is_wps_ie(((uint8 **)&ie), &ptr, &ptr_len)) { > iwe.cmd = IWEVGENIE; > iwe.u.data.length = ie->len + 2; >- event = iwe_stream_add_point(event, end, &iwe, (char *)ie); >+ event = iwe_stream_add_point(info, event, end, &iwe, (char *)ie); > break; > } > } >@@ -989,7 +989,7 @@ > if (ie_is_wpa_ie(((uint8 **)&ie), &ptr, &ptr_len)) { > iwe.cmd = IWEVGENIE; > iwe.u.data.length = ie->len + 2; >- event = iwe_stream_add_point(event, end, &iwe, (char *)ie); >+ event = iwe_stream_add_point(info, event, end, &iwe, (char *)ie); > goto done; > } > } >@@ -1003,7 +1003,7 @@ > else > iwe.u.data.flags = IW_ENCODE_DISABLED; > iwe.u.data.length = 0; >- event = iwe_stream_add_point(event, end, &iwe, (char *)event); >+ event = iwe_stream_add_point(info, event, end, &iwe, (char *)event); > > if (bi->rateset.count) { > value = event + IW_EV_LCP_LEN; >@@ -1012,7 +1012,7 @@ > iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; > for (j = 0; j < bi->rateset.count && j < IW_MAX_BITRATES; j++) { > iwe.u.bitrate.value = (bi->rateset.rates[j] & 0x7f) * 500000; >- value = iwe_stream_add_value(event, value, end, &iwe, >+ value = iwe_stream_add_value(info, event, value, end, &iwe, > IW_EV_PARAM_LEN); > } > event = value; > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248450
:
173053
| 173054 |
173055
|
174402
|
176017
|
176018
|
176084
|
176108
|
176112
|
176117
|
177128
|
177129
|
178706
|
179564
|
179581
|
179630
|
179742
|
180576
|
180679
|
184149
|
184151
|
184152
|
184198
|
184309
|
187456
|
189238
|
189250
|
195182
|
232555