ap: Remove unneeded NULL check

sta is already dereferenced above, no need for the extra check here
This commit is contained in:
Denis Kenzior 2019-10-17 17:22:02 -05:00
parent b6554ee41c
commit aa75b3e06e
1 changed files with 1 additions and 1 deletions

View File

@ -951,7 +951,7 @@ bad_frame:
*
* For now, we need to drop the RSNA.
*/
if (sta && sta->associated && sta->rsna)
if (sta->associated && sta->rsna)
ap_drop_rsna(sta);
if (rates)