On 2012-03-15 6:52 AM, Sujith Manoharan wrote: > Felix Fietkau wrote: >> Automatically set the ah->htc_reset_init on init and after PHY disable. >> >> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> >> --- >> drivers/net/wireless/ath/ath9k/htc_drv_main.c | 1 - >> drivers/net/wireless/ath/ath9k/hw.c | 8 ++------ >> drivers/net/wireless/ath/ath9k/hw.h | 3 --- >> 3 files changed, 2 insertions(+), 10 deletions(-) > > ath9k_htc still has remnants of the old radio enable/disable code when > drivers were handling RFKILL events. And until that area is cleaned up, > this should probably be kept - since PHY disable is done there too, and > we are fiddling with RST/RF registers. I did see the old radio enabled/disable code and my patch preserves the existing behavior. ath9k_hw_phy_disable sets ah->htc_reset_init = true, so the first reset called by ath9k_htc_start() will trigger the extra reset just like before. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html