Re: [PATCH mac80211-next] ath10k: fix unhandled switch value warning

2020-08-14 Thread Kalle Valo
Thomas Pedersen writes: > Cited commit introduced the following warnings: > > drivers/net/wireless/ath/ath10k/mac.c: In function 'chan_to_phymode': > drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration > value 'NL80211_CHAN_WIDTH_1' not handled in switch [-Wswitch] > 558 |

[PATCH mac80211-next] ath10k: fix unhandled switch value warning

2020-07-30 Thread Thomas Pedersen
Cited commit introduced the following warnings: drivers/net/wireless/ath/ath10k/mac.c: In function 'chan_to_phymode': drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_1' not handled in switch [-Wswitch] 558 | switch (chandef->width) { |