Create a gist now

Instantly share code, notes, and snippets.

Patch for broadcom-wl to make it shut up about rssi
Index: broadcom-wl/src/src/wl/sys/wl_cfg80211.c
--- broadcom-wl.orig/src/src/wl/sys/wl_cfg80211.c
+++ broadcom-wl/src/src/wl/sys/wl_cfg80211.c
@@ -1466,7 +1466,7 @@ wl_cfg80211_get_station(struct wiphy *wi
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));
+ // WL_ERR(("Could not get rssi (%d)\n", err));
return err;
rssi = dtoh32(scb_val.val);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment