Minor cleanup to return after WNM Action frame handling
There is no need to go through the following handler calls in hostapd_action_rx() after having found the matching WLAN_ACTION_WNM handler. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
700b3f395e
commit
cc833a236c
1 changed files with 1 additions and 0 deletions
|
@ -1118,6 +1118,7 @@ static void hostapd_action_rx(struct hostapd_data *hapd,
|
||||||
#ifdef CONFIG_WNM_AP
|
#ifdef CONFIG_WNM_AP
|
||||||
if (mgmt->u.action.category == WLAN_ACTION_WNM) {
|
if (mgmt->u.action.category == WLAN_ACTION_WNM) {
|
||||||
ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len);
|
ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_WNM_AP */
|
#endif /* CONFIG_WNM_AP */
|
||||||
#ifdef CONFIG_FST
|
#ifdef CONFIG_FST
|
||||||
|
|
Loading…
Add table
Reference in a new issue