Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 468388 | Differences between
and this patch

Collapse All | Expand All

(-)broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c (-5 / +1 lines)
Lines 1581-1591 Link Here
1581
	}
1581
	}
1582
1582
1583
	WL_LOCK(wl);
1583
	WL_LOCK(wl);
1584
	if (!capable(CAP_NET_ADMIN)) {
1584
	bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif);
1585
		bcmerror = BCME_EPERM;
1586
	} else {
1587
		bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif);
1588
	}
1589
	WL_UNLOCK(wl);
1585
	WL_UNLOCK(wl);
1590
1586
1591
done1:
1587
done1:
(-)broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_cfg80211.c (-1 / +4 lines)
Lines 1466-1472 Link Here
1466
		scb_val.val = 0;
1466
		scb_val.val = 0;
1467
		err = wl_dev_ioctl(dev, WLC_GET_RSSI, &scb_val, sizeof(scb_val_t));
1467
		err = wl_dev_ioctl(dev, WLC_GET_RSSI, &scb_val, sizeof(scb_val_t));
1468
		if (err) {
1468
		if (err) {
1469
			WL_ERR(("Could not get rssi (%d)\n", err));
1469
			if (err != -EINVAL) {
1470
				// Don't fill syslog with EINVAL error
1471
				WL_ERR(("Could not get rssi (%d)\n", err));
1472
			}
1470
			return err;
1473
			return err;
1471
		}
1474
		}
1472
		rssi = dtoh32(scb_val.val);
1475
		rssi = dtoh32(scb_val.val);

Return to bug 468388