On 25 November 2014 at 09:41, Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> wrote: > Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> writes: > >> +static ssize_t ath10k_mem_value_read(struct file *file, >> + char __user *user_buf, >> + size_t count, loff_t *ppos) >> +{ [...] >> +static ssize_t ath10k_mem_value_write(struct file *file, >> + const char __user *user_buf, >> + size_t count, loff_t *ppos) [...] > In these two functions we also need to check ar->state. It should work but the pci_wake (I've mentioned in the other mail) is tricky though. Michał -- 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