]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Add a missing break in parse_station_flags
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 8 Jul 2018 09:57:22 +0000 (09:57 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 9 Jul 2018 07:09:57 +0000 (09:09 +0200)
commit419e26815b8860cdf9d653e817f3f455fcdf9aee
tree5331c365742aff49b3f60c804bb6c3da779512e1
parent02c96083df877658d9c735d01f4171b36aff3570
nl80211: Add a missing break in parse_station_flags

I was looking at usually suppressed gcc warnings,
[-Wimplicit-fallthrough=] in this case:

The code definitely looks like a break is missing here.
However I am not able to test the NL80211_IFTYPE_MESH_POINT,
nor do I actually know what might be :)
So please use this patch with caution and only if you are
able to do some testing.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
[johannes: looks obvious enough to apply as is, interesting
 though that it never seems to have been a problem]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c