iwlwifi: testing the wrong variable in iwl_add_bssid_station()
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 14:53:46 +0000 (16:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 May 2010 19:07:42 +0000 (15:07 -0400)
commit96900c751dd16fc9455e7184cbe8758ac7aa7e79
tree0f7280a70024b49e9fb4c375606ca0f4952c119e
parent7606688afc767c0b94bb2d79512affe3ba1264ce
iwlwifi: testing the wrong variable in iwl_add_bssid_station()

The intent here is to test that "sta_id_r" is a valid pointer.  We do
this same test later on in the function.

Btw iwl_add_bssid_station() is called from two places and "sta_id_r" is
a valid pointer from both callers.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-sta.c