projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 toolchain: update to gcc 6.1.0, newlib 2.4.0 and binutils 2.26
[carl9170fw.git]
/
carlfw
/
src
/
hostif.c
diff --git
a/carlfw/src/hostif.c
b/carlfw/src/hostif.c
index 57268607169afaa9a153c1f455d25b0a21598b6a..73e89c7137ad237b5712a1f751f49c8421d70fbc 100644
(file)
--- a/
carlfw/src/hostif.c
+++ b/
carlfw/src/hostif.c
@@
-19,8
+19,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
*/
#include "carl9170.h"
*/
#include "carl9170.h"
@@
-235,6
+234,12
@@
void handle_cmd(struct carl9170_rsp *resp)
memset(&fw.tally, 0, sizeof(struct carl9170_tally_rsp));
break;
memset(&fw.tally, 0, sizeof(struct carl9170_tally_rsp));
break;
+ case CARL9170_CMD_WREGB:
+ resp->hdr.len = 0;
+ for (i = 0; i < MIN(cmd->wregb.count, cmd->hdr.len - 8); i++)
+ setb(cmd->wregb.addr + i, cmd->wregb.val[i]);
+ break;
+
case CARL9170_CMD_BCN_CTRL:
resp->hdr.len = 0;
case CARL9170_CMD_BCN_CTRL:
resp->hdr.len = 0;