summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sdio.c
diff options
context:
space:
mode:
authorDan Carpenter2012-04-21 14:23:44 +0200
committerJohn W. Linville2012-05-09 02:56:10 +0200
commit62c50543cec42592c67d3c9cef5d426aee7c071f (patch)
tree72223bdf6cb9d8e2ba544c37087a042a9162443d /drivers/net/wireless/mwifiex/sdio.c
parentiwlwifi: don't init trans->reg_lock from the op_mode (diff)
downloadkernel-qcow2-linux-62c50543cec42592c67d3c9cef5d426aee7c071f.tar.gz
kernel-qcow2-linux-62c50543cec42592c67d3c9cef5d426aee7c071f.tar.xz
kernel-qcow2-linux-62c50543cec42592c67d3c9cef5d426aee7c071f.zip
wireless: at76c50x: allocating too much data
This is a cut and paste mistake, sizeof(struct mib_local) was intended instead of sizeof(struct mib_phy). The call to at76_get_mib() uses sizeof(struct mib_local) correctly, although I changed that to sizeof(*m) for style reasons after discussion with some of the wireless maintainers. The current code works fine because mib_phy structs are larger than mib_local structs. But we may as well clean it up. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sdio.c')
0 files changed, 0 insertions, 0 deletions