OSDN Git Service

staging: wilc1000: adds a check routine when performed del_key()
authorLeo Kim <leo.kim@atmel.com>
Fri, 1 Apr 2016 08:44:19 +0000 (17:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:58:42 +0000 (21:58 -0700)
commitb0f1836fadc89dd5629021cfc4ab72ef9f2bfcb3
treead0c69e438dc70ebb1681b454d83ef7a438bc3ee
parent8006109ba0f9b85407ce41c86e7a9a059d08b90c
staging: wilc1000: adds a check routine when performed del_key()

This patch is adds a check routine when performed del_key().
We was find this situation while test the 'rmmod sdio'.
That is received inform a .del_key cmd from cfg80211.
If is not exist wep keys, must be ignore a wilc_remove_wep_key() function.
Thus, adds a check routine that key length of wep.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c