]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: only pass sband to set_mandatory_flags_band()
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Wed, 4 Jan 2017 10:53:37 +0000 (10:53 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 5 Jan 2017 11:58:03 +0000 (12:58 +0100)
commit80adb6b2d4ac56d8dd5a5c9655583847b05dcb79
treec2122f62375cb7fe7daec1dee3faf95741362607
parent8c0fd9db21bc415baadc779f6430170e960d74b6
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>
net/wireless/util.c