ath9k: Cleanup interface handling
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 17 Jul 2012 11:45:43 +0000 (17:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:38 +0000 (15:11 -0400)
commitdf35d29e171ef043976b339812276ff96d1f4c21
tree48460c42dba09dbdd49b33317ab6cfc761b8cd76
parent60ca9f8744d29b8fdfd33d3dec8fc2cfc9ec381a
ath9k: Cleanup interface handling

* Do not set/clear TSF when adding/deleting an interface.
  This should be done when the BSS is set up and should also
  take into account the existence of other interfaces.

* Set opmode explicitly.

* ANI setup needs to be decided based on multiple interfaces.
  This can be done via the bss_info_changed() callback.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c