Merge tag 'wireless-drivers-next-for-davem-2016-05-13' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says: ==================== wireless-drivers patches for 4.7 Major changes: iwlwifi * remove IWLWIFI_DEBUG_EXPERIMENTAL_UCODE kconfig option * work for RX multiqueue continues * dynamic queue allocation work continues * add Luca as maintainer * a bunch of fixes and improvements all over brcmfmac * add 4356 sdio support ath6kl * add ability to set debug uart baud rate with a module parameter wil6210 * add debugfs file to configure firmware led functionality ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -5794,7 +5794,7 @@ static int airo_set_freq(struct net_device *dev,
|
||||
fwrq->m = ieee80211_frequency_to_channel(f);
|
||||
}
|
||||
/* Setting by channel number */
|
||||
if((fwrq->m > 1000) || (fwrq->e > 0))
|
||||
if (fwrq->m < 0 || fwrq->m > 1000 || fwrq->e > 0)
|
||||
rc = -EOPNOTSUPP;
|
||||
else {
|
||||
int channel = fwrq->m;
|
||||
|
Reference in New Issue
Block a user