Re: [ath9k-devel] ath9k_htc: check for underflow in ath9k_htc_rx_msg()

2015-11-26 Thread Kalle Valo
> We check for overflow here, but we don't check for underflow so it > causes a static checker warning. > > Fixes: fb9987d0f748 ('ath9k_htc: Support for AR9271 chipset.') > Signed-off-by: Dan Carpenter Thanks, applied to wireless-drivers-next.git. Kalle Valo

Re: [ath9k-devel] [PATCH v2 2/8] cfg80211: Remove unused cfg80211_can_use_iftype_chan()

2015-11-26 Thread Johannes Berg
On Mon, 2015-11-23 at 19:27 +0100, Michal Sojka wrote: > Last caller of this function was removed in 3.17 in commit > 97dc94f1d933c9df2c0b327066ea130c0e92083f. > Heh. I've applied the first two patches for now - will review the others in more detail later. johannes

Re: [ath9k-devel] [PATCH v2 3/8] cfg80211: reg: Refactor calculation of bandwidth flags

2015-11-26 Thread Johannes Berg
On Mon, 2015-11-23 at 19:27 +0100, Michal Sojka wrote: > The same piece of code appears at two places. Make a function from > it. > Also applied. johannes ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] [PATCH v2 4/8] cfg80211: reg: Properly handle rules for 5 and 10 MHz channels

2015-11-26 Thread Johannes Berg
On Mon, 2015-11-23 at 19:27 +0100, Michal Sojka wrote: > Regulatory rules are applied to channels as if the channel is at > least > 20 MHz wide. This is a problem when dealing with 5 and 10 MHz > channels > because side channels of a regulatory rule get disabled even when > they > fall into rule's

Re: [ath9k-devel] [PATCH v2 7/8] cfg80211: Add Kconfig option for ITS-G5 band (5.9 GHz)

2015-11-26 Thread Johannes Berg
On Mon, 2015-11-23 at 19:27 +0100, Michal Sojka wrote: > This option is meant for use by drivers and other subsystems to > enable > support for the Intelligent Transportation System (ITS-G5) band. The > option depends on CFG80211_CERTIFICATION_ONUS as the use of this band > is > restricted. EU