commit | 68b76e99d1f7b696d49b5e99286401150072987a | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Thu Nov 14 19:10:37 2013 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Nov 15 14:29:30 2013 -0500 |
tree | c2a420deb2a1be9b5ae054f8fbed65f7c1a227aa | |
parent | b4089d6d8e71a7293e2192025dfa507a04f661c4 [diff] |
mwifiex: use return value of mwifiex_add_virtual_intf() correctly mwifiex_add_virtual_intf() returns ERR_PTR values. So use IS_ERR() macro instead of checking for NULL pointer. Reported-by: Ujjal Roy <royujjal@gmail.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>