Staging: rtl8192u: Hoist assign from if
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
810ba6a25b
commit
d10219fcae
@@ -1713,7 +1713,8 @@ ieee80211_rx_auth_rq(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|||||||
//IEEE80211DMESG("Rx probe");
|
//IEEE80211DMESG("Rx probe");
|
||||||
ieee->softmac_stats.rx_auth_rq++;
|
ieee->softmac_stats.rx_auth_rq++;
|
||||||
|
|
||||||
if ((status = auth_rq_parse(skb, dest))!= -1){
|
status = auth_rq_parse(skb, dest);
|
||||||
|
if (status != -1) {
|
||||||
ieee80211_resp_to_auth(ieee, status, dest);
|
ieee80211_resp_to_auth(ieee, status, dest);
|
||||||
}
|
}
|
||||||
//DMESG("Dest is "MACSTR, MAC2STR(dest));
|
//DMESG("Dest is "MACSTR, MAC2STR(dest));
|
||||||
|
Reference in New Issue
Block a user