Fix Dead Store (Dead increment) found by Clang Analyzer
--- src/wtp/binding/ieee80211/wifi_drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
d12d15d67d
commit
49f7ba41df
@ -1559,7 +1559,7 @@ uint16_t wifi_wlan_check_capability(struct wifi_wlan* wlan, uint16_t capability)
|
||||
result &= ~IEEE80211_CAPABILITY_SHORTSLOTTIME;
|
||||
}
|
||||
|
||||
return capability;
|
||||
return result;
|
||||
}
|
||||
|
||||
/* */
|
||||
|
Loading…
Reference in New Issue
Block a user