mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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:
parent
810ba6a25b
commit
d10219fcae
1 changed files with 2 additions and 1 deletions
|
@ -1713,7 +1713,8 @@ ieee80211_rx_auth_rq(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|||
//IEEE80211DMESG("Rx probe");
|
||||
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);
|
||||
}
|
||||
//DMESG("Dest is "MACSTR, MAC2STR(dest));
|
||||
|
|
Loading…
Reference in a new issue