drivers: net: wireless: b43: Fix possible NULL ptr dereference
authorFelipe Pena <felipensp@gmail.com>
Thu, 17 Oct 2013 00:40:24 +0000 (21:40 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 17:41:11 +0000 (13:41 -0400)
commit8ce9beac4661f576ea0d518b9f086bb52a171a37
tree17252a7e40d40f61ca82b138a4e47fbe0898a0c9
parent36165fd5b00bf8163f89c21bb16a3e9834555b10
drivers: net: wireless: b43: Fix possible NULL ptr dereference

On the ternary expression the 'e' variable could be NULL dereferenced,
when b43_nphy_get_rf_ctl_over_rev7 function returns NULL.

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c