staging: ks7010: Factor out repeated code for reading IEs.
authorQuytelda Kahja <quytelda@tamalin.org>
Fri, 23 Mar 2018 05:07:44 +0000 (22:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Mar 2018 14:58:32 +0000 (15:58 +0100)
commit72d73d63a7c914cb1f93e89101aa3374708c66ad
tree62a3555dfd4170e0c9349f9873c97234f96c28ce
parentf9b280fa9f31750a71db37ceb6ae909defe68b95
staging: ks7010: Factor out repeated code for reading IEs.

Some of the code for reading IEs is replicated multiple times in the
switch statement for get_ap_information().  Factor that code out into
read_ie().

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c