commit | b0ad5e8b4905d2398702e1dde033bce9c2c0fcad | [log] [tgz] |
---|---|---|
author | Patrik Flykt <patrik.flykt@linux.intel.com> | Fri Nov 21 15:08:02 2014 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Nov 21 14:18:01 2014 +0100 |
tree | 0c5c07c10dd0a10ce4ba6f2c5633bd93eab2f284 | |
parent | 75769c80e381653994293b5aa5a8cfec50088f9f [diff] |
mac80211_hwsim: Send alpha2 only if non-zero A properly set alpha2 value consists of two chars that both contain letters or digits. If no value is set, both chars keep their initial value zero. Therefore do not send the alpha2 parameter to user space if either of the characters has been left at its initial zero value. Signed-off-by: Patrik Flykt <patrik.flykt@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>