Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@magthe
Created December 1, 2011 21:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magthe/1420199 to your computer and use it in GitHub Desktop.
Save magthe/1420199 to your computer and use it in GitHub Desktop.
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