commit | a17d93ff3a950fefaea40e4a4bf3669b9137c533 | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Wed Dec 14 11:30:38 2016 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Dec 15 10:54:48 2016 +0100 |
tree | cde48d7c029ceae44522406acf55e76866682fc5 | |
parent | d8da0b5d64d58f7775a94bcf12dda50f13a76f22 [diff] |
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>