mac80211: fix rate control update on 2040 bss change
[deliverable/linux.git] / drivers / net / wireless / atmel.c
index 3010cee7b95ab935264c91e37627c2061928b24c..d07c0301da6abeca20f1aa8fbbaf1cf0b8ae4d32 100644 (file)
@@ -50,7 +50,6 @@
 #include <linux/timer.h>
 #include <asm/byteorder.h>
 #include <asm/io.h>
-#include <asm/system.h>
 #include <asm/uaccess.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
@@ -3990,8 +3989,7 @@ static int reset_atmel_card(struct net_device *dev)
                        atmel_copy_to_card(priv->dev, 0x8000, &fw[0x6000], len - 0x6000);
                }
 
-               if (fw_entry)
-                       release_firmware(fw_entry);
+               release_firmware(fw_entry);
        }
 
        err = atmel_wakeup_firmware(priv);
This page took 0.025974 seconds and 5 git commands to generate.