commit | 19a0d0e5d6d77d2ca7905175257362effd2fa59b | [log] [tgz] |
---|---|---|
author | Kiet Lam <kietl@codeaurora.org> | Sat Nov 16 13:57:41 2013 -0800 |
committer | Kiet Lam <kietl@codeaurora.org> | Sun Nov 17 18:02:34 2013 -0800 |
tree | a3fcac1c95703f3ee6e41754e93fdeb994d59355 | |
parent | fc5f62b778c83a8cd7ea53e7c548110b4dee0a70 [diff] |
wlan: correct the usage of wiphy->bands at init time For the 3.10 kernel, the wiphy->bands is an array of 3 and not 2 elements. The 3rd element can be uninitialized. If the element is unitialized, do not return error but skip it. Change-Id: I881671dce3e527886d94e956bafa7326cea82e9b