]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Cleanup fw interface type setting
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 25 Oct 2011 14:03:59 +0000 (19:33 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:58:46 +0000 (12:58 +0200)
commit138e23457a3d6ba6ac87f0435da148481480900a
tree2ce772dfc4a4dd8dddbf2a3c9bf6855da8606c30
parentc625bd33f71e2581f77764d8c399417e62e0db12
ath6kl: Cleanup fw interface type setting

It is not necessary to use ath6kl_get_fw_iftype() to find out the
firmware interface type during initialization because the type
of the initial interface in INFRA_NETWORK. Hardcode the fw interface
type corresponding to INFRA_BSS instead of using ath6kl_get_fw_iftype().

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c