mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
treewide: fix bugs from Coverity Scan
- Fix a couple of bugs in hardly ever (never?) used code paths that Coverity spotted - Add comments for things that look a bit odd, but not sure if they are bugs [cleanup commit message] Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
4a88222722
commit
5b1eddc6f4
6 changed files with 18 additions and 26 deletions
|
|
@ -225,6 +225,7 @@ probe_entry *parse_to_probe_req(struct blob_attr* msg) {
|
|||
int handle_deauth_req(struct blob_attr* msg) {
|
||||
|
||||
dawnlog_debug_func("Entering...");
|
||||
|
||||
hostapd_notify_entry notify_req;
|
||||
parse_to_hostapd_notify(msg, ¬ify_req);
|
||||
|
||||
|
|
@ -330,7 +331,7 @@ int handle_network_msg(char* msg) {
|
|||
else if (strncmp(method, "macfile", 5) == 0) {
|
||||
parse_add_mac_to_file(data_buf.head);
|
||||
}
|
||||
else if (strncmp(method, "uci", 2) == 0) {
|
||||
else if (strncmp(method, "uci", 2) == 0) { // TODO: Should this be 3 or is something special happening?
|
||||
dawnlog_debug("HANDLING UCI!\n");
|
||||
handle_uci_config(data_buf.head);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue