[PATCH 3/3] ath6kl: configure SDIO when power is reapplied

2016-10-03 Thread James Minor
When power is removed from the device, all of the SDIO settings return to default. Fix that by reconfiguring after power is applied. Signed-off-by: James Minor Reviewed-by: Steve deRosier --- drivers/net/wireless/ath/ath6kl/sdio.c | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH 2/3] ath6kl: after cleanup properly reflect that sg is disabled

2016-10-03 Thread James Minor
This allows the hardware to be restarted, as it will cause the sg to be reinitialized. Signed-off-by: James Minor Reviewed-by: Steve deRosier --- drivers/net/wireless/ath/ath6kl/sdio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net

[PATCH 1/3] ath6kl: fix busreqs so they can be reused when sg is cleaned up

2016-10-03 Thread James Minor
To reuse the busreqs in case of hardware restart, they must be properly reinitialized. If the scat_req pointer isn't reset to 0, __ath6kl_sdio_write_async() will assume there is sg work to be done (causing a kernel OOPS). Signed-off-by: James Minor Reviewed-by: Steve deRosier --- driver

[PATCH 0/3] Allow ath6kl to be restarted

2016-10-03 Thread James Minor
To work around a boot issue with the AR6234, I discovered a few instances where error cleanup code is not working as expected. A full solution for the boot issue is being worked up, but in the mean time these fixes make error cleanup work properly. James Minor (3): ath6kl: fix busreqs so they

[PATCH v3] wext: Return -E2BIG when the buffer is too small for the full scan results, including IEs.

2015-02-24 Thread James Minor
that case. Signed-off-by: James Minor --- net/wireless/scan.c | 86 ++--- 1 file changed, 76 insertions(+), 10 deletions(-) diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 25e1e1f..dffeaca 100644 --- a/net/wireless/scan.c +++ b/net

[PATCH v2] wext: Return -E2BIG when the buffer is too small for the full scan results, including IEs.

2015-02-19 Thread James Minor
that case. Signed-off-by: James Minor --- net/wireless/scan.c | 84 ++--- 1 file changed, 74 insertions(+), 10 deletions(-) diff --git a/net/wireless/scan.c b/net/wireless/scan.c index c705c3e..7659c29 100644 --- a/net/wireless/scan.c +++ b/net

Re: [PATCH RFC] wext: Add event stream wrappers that return E2BIG when values don't fit

2015-02-19 Thread James Minor
On 01/29/2015 03:22 PM, Johannes Berg wrote: > > What you mean is "with the wext (compatibility) code in cfg80211". Comment fixed in the v2 of the patch (coming shortly). > > Either way, I *strongly* recommend against using this in the first > > place. There's an upper bound of 64k (I think) on