On Mon, 2016-12-05 at 14:12 -0800, greearb@xxxxxxxxxxxxxxx wrote: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > This fixes obtaining the rate info via sta_set_sinfo > when the rx rate is invalid (for instance, on IBSS > interface that has received no frames from one of its > peers). Please fix this completely while at it, i.e. make sta_set_rate_info_rx() have a return value and don't set the BIT(NL80211_STA_INFO_RX_BITRATE) when there's no known rate. johannes