iwlegacy: add missing null check
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Fri, 3 Jun 2011 03:24:06 +0000 (22:24 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:16:35 +0000 (15:16 -0400)
commit0c34861e7c66435ab0986509ec20055c402f29d8
tree33d173aaf317d06d397fcd3dba94f276064b4190
parent5c30c76ee616fffb47cbd9810bfd0a99ce4ddb38
iwlegacy: add missing null check

lq_sta has other null checks in this function.
assuming they are correct, this additional null check
should be added too.

Incorporating suggestion from Gustavo Padovan.

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-4965-rs.c