summaryrefslogtreecommitdiff
path: root/drivers/char/ps3flash.c
diff options
context:
space:
mode:
authorTamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com>2026-07-01 23:54:28 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-07-22 09:02:00 -0700
commitbe72d6aecea491ee202de81fc3a71c7ea9d34d2b (patch)
tree0a01d34561ec947999eca5414a9741d3230ce4cd /drivers/char/ps3flash.c
parent12b09e478aa7459b7893a695ef77682202f2da83 (diff)
downloadlinux-next-be72d6aecea491ee202de81fc3a71c7ea9d34d2b.tar.gz
linux-next-be72d6aecea491ee202de81fc3a71c7ea9d34d2b.zip
wifi: ath12k: Set IEEE80211_OFFLOAD_ENCAP_4ADDR after tx_encap_type vdev param
Currently, IEEE80211_OFFLOAD_ENCAP_4ADDR is set when IEEE80211_OFFLOAD_ENCAP_ENABLED is present in vif->offload_flags at the beginning of ath12k_mac_update_vif_offload(). However, if the WMI vdev set_param for tx_encap_type fails, IEEE80211_OFFLOAD_ENCAP_ENABLED is cleared but IEEE80211_OFFLOAD_ENCAP_4ADDR remains set, leaving the flags in an inconsistent state. Fix this by setting IEEE80211_OFFLOAD_ENCAP_4ADDR only after the tx_encap_type has been configured via the WMI vdev set parameter. Compile tested only. Fixes: 729cad3c3c9e ("wifi: ath12k: Add 4-address mode support for eth offload") Signed-off-by: Tamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com> Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com> Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Link: https://patch.msgid.link/20260701182428.906441-1-tamizh.raja@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'drivers/char/ps3flash.c')
0 files changed, 0 insertions, 0 deletions