Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 319132 Details for
Bug 399747
net-wireless/broadcom-sta floods logs with "could not get rate/rssi"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
RSSI Log flood removal
broadcom-sta-5.100.82.112-linux-3.x-rssi.patch (text/plain), 1.25 KB, created by
Federico Pires
on 2012-07-24 20:32:49 UTC
(
hide
)
Description:
RSSI Log flood removal
Filename:
MIME Type:
Creator:
Federico Pires
Created:
2012-07-24 20:32:49 UTC
Size:
1.25 KB
patch
obsolete
>diff -Naur broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c >--- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c 2012-05-24 09:45:02.520119025 +0400 >+++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c 2012-05-24 09:46:52.116121834 +0400 >@@ -1581,11 +1581,7 @@ > } > > WL_LOCK(wl); >- if (!capable(CAP_NET_ADMIN)) { >- bcmerror = BCME_EPERM; >- } else { >- bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); >- } >+ bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); > WL_UNLOCK(wl); > > done1: > >diff -Naur broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_cfg80211.c broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_cfg80211.c >--- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_cfg80211.c 2012-05-24 09:45:33.268119813 +0400 >+++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_cfg80211.c 2012-05-24 09:55:30.184135098 +0400 >@@ -1466,7 +1466,10 @@ > scb_val.val = 0; > err = wl_dev_ioctl(dev, WLC_GET_RSSI, &scb_val, sizeof(scb_val_t)); > if (err) { >- WL_ERR(("Could not get rssi (%d)\n", err)); >+ if (err != -EINVAL) { >+ // Don't fill syslog with EINVAL error >+ WL_ERR(("Could not get rssi (%d)\n", err)); >+ } > return err; > } > rssi = dtoh32(scb_val.val);
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 399747
:
299551
| 319132