summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-28 16:53:52 -0700
committerJosh Blum <josh@joshknows.com>2010-09-28 16:53:52 -0700
commite4c6f42ff30aeaedf2d1eb426a221b85236fb74e (patch)
treee3736b934263e84ca0a35e025703465990ad8f41 /host/lib/usrp/usrp1
parent071c4d4226d9cbeb1f1f67139261b13205816d8a (diff)
downloaduhd-e4c6f42ff30aeaedf2d1eb426a221b85236fb74e.tar.gz
uhd-e4c6f42ff30aeaedf2d1eb426a221b85236fb74e.tar.bz2
uhd-e4c6f42ff30aeaedf2d1eb426a221b85236fb74e.zip
usb: submit should return ssize_t, usrp1: set hash before reset after fw load
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r--host/lib/usrp/usrp1/usrp1_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_ctrl.cpp b/host/lib/usrp/usrp1/usrp1_ctrl.cpp
index 2e1bd85cd..5d73e6dd9 100644
--- a/host/lib/usrp/usrp1/usrp1_ctrl.cpp
+++ b/host/lib/usrp/usrp1/usrp1_ctrl.cpp
@@ -209,9 +209,9 @@ public:
}
//type 0x01 is end
else if (type == 0x01) {
+ usrp_set_firmware_hash(hash); //set hash before reset
usrp_control_write(FX2_FIRMWARE_LOAD, 0xe600, 0,
&reset_n, 1);
- usrp_set_firmware_hash(hash);
file.close();
//wait for things to settle