Either I'm missing something, or this is wrong. Even when fixed to use the & operator this check should not be performed here. A few lines above the mh->flags variable is used to extract other flags:
This correctly corresponds to the flags defined in the Linux driver in ath9k/htc.h. However it appears the driver does not use this particular field to set preamble length settings.
In the function
ath_tgt_send_mgt
the following check is being made:Either I'm missing something, or this is wrong. Even when fixed to use the
&
operator this check should not be performed here. A few lines above themh->flags
variable is used to extract other flags:This correctly corresponds to the flags defined in the Linux driver in
ath9k/htc.h
. However it appears the driver does not use this particular field to set preamble length settings.