Searched hist:c18b104d (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_event.c | c18b104d Thu Jun 30 03:31:23 CDT 2016 Prasun Maiti <prasunmaiti87@gmail.com> mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME
The two members min_scan_time and max_scan_time of structure "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values are assigned directtly from firmware without endian conversion handling. So, wrong datas will get saved in big-endian systems.
This patch converts the values into cpu's byte order before assigning them into the local members.
Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> c18b104d Thu Jun 30 03:31:23 CDT 2016 Prasun Maiti <prasunmaiti87@gmail.com> mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME The two members min_scan_time and max_scan_time of structure "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values are assigned directtly from firmware without endian conversion handling. So, wrong datas will get saved in big-endian systems. This patch converts the values into cpu's byte order before assigning them into the local members. Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
H A D | fw.h | c18b104d Thu Jun 30 03:31:23 CDT 2016 Prasun Maiti <prasunmaiti87@gmail.com> mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME
The two members min_scan_time and max_scan_time of structure "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values are assigned directtly from firmware without endian conversion handling. So, wrong datas will get saved in big-endian systems.
This patch converts the values into cpu's byte order before assigning them into the local members.
Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> c18b104d Thu Jun 30 03:31:23 CDT 2016 Prasun Maiti <prasunmaiti87@gmail.com> mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME The two members min_scan_time and max_scan_time of structure "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values are assigned directtly from firmware without endian conversion handling. So, wrong datas will get saved in big-endian systems. This patch converts the values into cpu's byte order before assigning them into the local members. Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|