commit | 343884c87e5a928193796415280269e723f951c7 | [log] [tgz] |
---|---|---|
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | Wed Jan 04 10:53:37 2017 +0000 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 05 12:58:03 2017 +0100 |
tree | c2122f62375cb7fe7daec1dee3faf95741362607 | |
parent | 5ec71dd7f1b63da20fefebabf1e66cb530b9eb4d [diff] |
cfg80211: only pass sband to set_mandatory_flags_band() The supported band structure contains the band is applies to so no need to pass it separately. Also added a default case to the switch for completeness. The current code base does not call this function with NUM_NL80211_BANDS but kept that case statement although default case would cover that. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>