Home
last modified time | relevance | path

Searched hist:a17d93ff3a950fefaea40e4a4bf3669b9137c533 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mac80211/
H A Dsta_info.cdiff a17d93ff3a950fefaea40e4a4bf3669b9137c533 Wed Dec 14 13:30:38 CST 2016 Ben Greear <greearb@candelatech.com> mac80211: fix legacy and invalid rx-rate report

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).

Also initialize rinfo->flags for legacy rates, to not
rely on the whole sinfo being initialized to zero.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>