Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

From: Valo, Kalle
Date: Wed Jun 08 2016 - 10:24:52 EST


Prasun Maiti <prasunmaiti87@xxxxxxxxx> writes:

> Since add more warnings for inconsistent ops in cfg80211, the wireless
> core warns if a driver implements a cfg80211 callback but doesn't
> implements the inverse operation. The ath6kl driver implements a cfg80211
> .get_antenna operation handler but doesn't have the inverse .set_antenna
> callback. So, it makes warning.
>
> To remove this warning, add .set_antenna callback in ath6kl driver and
> also send a cmd to firmware with it's values.
>
> Signed-off-by: Prasun Maiti <prasunmaiti87@xxxxxxxxx>

Did you test this? What hardware and firmware version?

--
Kalle Valo