linux-stable/drivers/staging/ks7010
Sergio Paracuellos eb37430d40 staging: ks7010: call 'hostif_mib_set_request_int' instead of 'hostif_mib_set_request_bool'
'hostif_mib_set_request_bool' function receives a bool as value and
send the received value with MIB_VALUE_TYPE_BOOL type. There is
one case where the value passed is not a boolean one but
'MCAST_FILTER_PROMISC' which is '2'. Call hostif_mib_set_request_int
instead for related multicast enumeration. This changes original
code behaviour but seems to be the right way to do this.

Fixes: 8ce76bff0e ("staging: ks7010: add new helpers to achieve mib set request and simplify code")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-16 10:04:11 +02:00
..
eap_packet.h staging: ks7010: remove not used definition WPA_CAPABILITY_PREAUTH 2018-05-14 14:07:05 +02:00
Kconfig staging: ks7010: remove custom firmware loader 2016-06-07 22:42:53 -07:00
ks7010_sdio.c staging: ks7010: avoid casting inside cpu_to_* assignments 2018-05-20 14:47:14 +02:00
ks_hostif.c staging: ks7010: call 'hostif_mib_set_request_int' instead of 'hostif_mib_set_request_bool' 2018-07-16 10:04:11 +02:00
ks_hostif.h staging: ks7010: change some casts from uint8_t to u8 in ks_hostif header 2018-05-06 18:58:38 -07:00
ks_wlan.h staging: ks7010: Remove unused define 2018-05-15 09:31:38 +02:00
ks_wlan_ioctl.h staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
ks_wlan_net.c staging: ks7010: replace uint8_t with u8 in ks_wlan_set_rx_gain 2018-05-14 14:07:06 +02:00
Makefile staging: ks7010: replace KS_WLAN_DEBUG with DEBUG preprocessor directive 2018-03-22 18:20:54 +01:00
michael_mic.c staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
michael_mic.h staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
TODO staging: ks7010: add task to TODO file 2017-04-11 16:05:51 +02:00