From: Catalin Iacob Date: Mon, 11 Feb 2013 21:18:05 +0000 (+0100) Subject: rtlwifi: Initialize rate_init member of struct rate_control_ops X-Git-Tag: v3.9-rc1~139^2~31^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88d0dc1cc0182358ce1ae6f457dace34539eb12;p=pandora-kernel.git rtlwifi: Initialize rate_init member of struct rate_control_ops This partially reverts commit 44ba973699b831414c3f8eef68ee5a7fe1208a05. rate_control_rate_init assumes the rate_init member of struct rate_control_ops is not NULL therefore not initializing it leads to an oops as soon the driver succesfully associates to an AP. The removal of rate_update from 44ba973699b831414c3f8eef68ee5a7fe1208a05 is ok because rate_update is checked for NULL before being called. Signed-off-by: Catalin Iacob Acked-by: Larry Finger Signed-off-by: John W. Linville --- Reading git-diff-tree failed